diff options
author | Robert Gustafsson <robg@student.chalmers.se> | 2017-10-14 11:18:03 +0200 |
---|---|---|
committer | Robert Gustafsson <robg@student.chalmers.se> | 2017-10-14 11:18:03 +0200 |
commit | d12ef314dfcd9bafd370669fc47e5ee443767b28 (patch) | |
tree | b8e8ecfca859d1adedbc783d4a936b91cd25c074 /broccoli/Makefile | |
parent | 89d12d836a0e34d7d2c55a1f96d947de48933813 (diff) | |
download | midbro-d12ef314dfcd9bafd370669fc47e5ee443767b28.tar.gz midbro-d12ef314dfcd9bafd370669fc47e5ee443767b28.tar.bz2 |
Rename midbropasad -> midbro in C impl..
* files in script/ are not changed
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 $@ |