mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
updated makefile
This commit is contained in:
parent
ce8bec51e4
commit
d62c4c8e97
1 changed files with 9 additions and 7 deletions
|
@ -1,15 +1,17 @@
|
|||
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 tc.c
|
||||
TARGETS = server send random receive test
|
||||
SRCS = server.c send.c receive.c random.c node.c path.c utils.c socket.c msg.c cfg.c if.c tc.c
|
||||
|
||||
# Default target: build everything
|
||||
all: $(TARGETS)
|
||||
|
||||
COMMON = socket.o if.o utils.o msg.o node.o cfg.o tc.o hooks.o
|
||||
|
||||
# Dependencies for individual binaries
|
||||
server: node.o msg.o utils.o path.o cfg.o if.o tc.o hooks.o
|
||||
send: node.o msg.o utils.o
|
||||
receive: node.o msg.o utils.o
|
||||
random: node.o msg.o utils.o
|
||||
test: node.o msg.o utils.o
|
||||
server: $(COMMON) path.o
|
||||
send: $(COMMON)
|
||||
receive: $(COMMON)
|
||||
random: utils.o msg.o
|
||||
test: $(COMMON)
|
||||
|
||||
VPATH = src
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue