diff options
Diffstat (limited to 'broccoli/Makefile')
-rw-r--r-- | broccoli/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/broccoli/Makefile b/broccoli/Makefile index 8e39783..d50fb9e 100644 --- a/broccoli/Makefile +++ b/broccoli/Makefile @@ -4,19 +4,19 @@ CFLAGS =-c -DBROCCOLI INC =-I/usr/local/include -I/usr/local/include -I./includes LDFLAGS = -L/usr/local/lib -lbroccoli -pthread DEBUG = -SRC = midbropasad.c broevent.c fifoqueue.c +SRC = midbro.c broevent.c fifoqueue.c OBJ = $(patsubst %.c, build/%.o, $(SRC)) -all: dirs lib/midbropasad +all: dirs lib/midbro dirs: mkdir -p build bin lib -lib/midbropasad: $(OBJ) - $(CC) -shared $^ -o lib/libmidbropasad.so $(LDFLAGS) +lib/midbro: $(OBJ) + $(CC) -shared $^ -o lib/libmidbro.so $(LDFLAGS) -pasad_test: - $(CC) test/pasad_test.c -I./includes -o bin/pasad_test -L./lib -lmidbropasad +midbro_test: + $(CC) test/midbro_test.c -I./includes -o bin/midbro_test -L./lib -lmidbro build/%.o: src/%.c $(CC) $(LIBCFLAGS) $(DEBUG) $(INC) $< -o $@ |