From d12ef314dfcd9bafd370669fc47e5ee443767b28 Mon Sep 17 00:00:00 2001 From: Robert Gustafsson Date: Sat, 14 Oct 2017 11:18:03 +0200 Subject: Rename midbropasad -> midbro in C impl.. * files in script/ are not changed --- broccoli/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'broccoli/Makefile') 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 $@ -- cgit v1.2.1