aboutsummaryrefslogtreecommitdiff
path: root/broccoli/Makefile
diff options
context:
space:
mode:
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 $@