diff options
Diffstat (limited to 'broccoli')
-rw-r--r-- | broccoli/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/broccoli/Makefile b/broccoli/Makefile index ea5465b..d115d95 100644 --- a/broccoli/Makefile +++ b/broccoli/Makefile @@ -5,7 +5,10 @@ LDFLAGS = -L/usr/local/lib -lbroccoli -pthread SRC = midbropasad.c broevent.c fifoqueue.c OBJ = $(patsubst %.c, build/%.o, $(SRC)) -all: bin/midbropasad bin/tests +all: dirs bin/midbropasad bin/tests + +dirs: + mkdir -p build bin bin/midbropasad: $(OBJ) $(CC) $^ -o bin/midbropasad $(LDFLAGS) |