aboutsummaryrefslogtreecommitdiff
path: root/broccoli/Makefile
diff options
context:
space:
mode:
authorRobin Krahl <guskraro@student.gu.se>2017-10-19 11:41:33 +0000
committerRobin Krahl <guskraro@student.gu.se>2017-10-19 11:41:33 +0000
commit7c90d74d74a5988ceef17f5545c12289d09b4803 (patch)
tree01cb75a112ba2ea691ab9268439b1a5ef4999cac /broccoli/Makefile
parent51f92be11ee8989424281af0b1a2bc1f66e04e54 (diff)
downloadmidbro-7c90d74d74a5988ceef17f5545c12289d09b4803.tar.gz
midbro-7c90d74d74a5988ceef17f5545c12289d09b4803.tar.bz2
Add pasad.c by group 8 and Wissam with some minor adaptions
Diffstat (limited to 'broccoli/Makefile')
-rw-r--r--broccoli/Makefile5
1 files changed, 4 insertions, 1 deletions
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 $@