mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
updated Makefile
git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@81 8ec27952-4edc-4aab-86aa-e87bb2611832
This commit is contained in:
parent
614d267e4b
commit
d63a8e0931
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -1,11 +1,11 @@
|
|||
TARGETS = server send receive random test
|
||||
SRCS = server.c send.c receive.c random.c node.c path.c utils.c msg.c cfg.c if.c
|
||||
SRCS = server.c send.c receive.c random.c node.c path.c utils.c msg.c cfg.c if.c tc.c
|
||||
|
||||
# Default target: build everything
|
||||
all: $(TARGETS)
|
||||
|
||||
# Dependencies for individual binaries
|
||||
server: node.o msg.o utils.o path.o cfg.o if.o
|
||||
server: node.o msg.o utils.o path.o cfg.o if.o tc.c
|
||||
send: node.o msg.o utils.o
|
||||
receive: node.o msg.o utils.o
|
||||
random: node.o msg.o utils.o
|
||||
|
@ -29,6 +29,7 @@ LDFLAGS = -pthread -lrt -lm -lconfig
|
|||
CFLAGS = -g -std=c99 -Iinclude/ -MMD -Wall
|
||||
CFLAGS += -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -DV=$(V)
|
||||
CFLAGS += -D__GIT_REV__='"$(GIT_REV)"' -D__GIT_TAG__='"$(GIT_TAG)"'
|
||||
CFLAGS += -fdiagnostics-color=auto
|
||||
|
||||
.PHONY: all clean doc
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue