From 7c90d74d74a5988ceef17f5545c12289d09b4803 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Thu, 19 Oct 2017 11:41:33 +0000 Subject: Add pasad.c by group 8 and Wissam with some minor adaptions --- broccoli/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'broccoli/Makefile') diff --git a/broccoli/Makefile b/broccoli/Makefile index d50fb9e..1ab59e8 100644 --- a/broccoli/Makefile +++ b/broccoli/Makefile @@ -7,7 +7,7 @@ DEBUG = SRC = midbro.c broevent.c fifoqueue.c OBJ = $(patsubst %.c, build/%.o, $(SRC)) -all: dirs lib/midbro +all: dirs lib/midbro bin/pasad dirs: mkdir -p build bin lib @@ -18,6 +18,9 @@ lib/midbro: $(OBJ) midbro_test: $(CC) test/midbro_test.c -I./includes -o bin/midbro_test -L./lib -lmidbro +bin/pasad: build/pasad.o + $(CC) $^ $(INC) -o $@ -Llib -lmidbro + build/%.o: src/%.c $(CC) $(LIBCFLAGS) $(DEBUG) $(INC) $< -o $@ -- cgit v1.2.3