aboutsummaryrefslogtreecommitdiff
path: root/broccoli/Makefile
diff options
context:
space:
mode:
authorRobert Gustafsson <robg@student.chalmers.se>2017-10-14 11:18:03 +0200
committerAndreas Lindhé <andreas@lindhe.io>2017-10-18 20:34:22 +0200
commit9c87ed9c965847ee784c4bae092e9d27ee2ffed7 (patch)
treefc031d114610840a5bd154b230e48ff34a8ab81d /broccoli/Makefile
parentc219824ea8ebd862530a3d10bccac5303c7e240b (diff)
downloadmidbro-9c87ed9c965847ee784c4bae092e9d27ee2ffed7.tar.gz
midbro-9c87ed9c965847ee784c4bae092e9d27ee2ffed7.tar.bz2
Rename midbropasad -> midbro in C impl..
* files in script/ are not changed
Diffstat (limited to 'broccoli/Makefile')
-rw-r--r--broccoli/Makefile12
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 $@