aboutsummaryrefslogtreecommitdiff
path: root/broccoli/Makefile
diff options
context:
space:
mode:
authorAndreas Lindhé <andreas@lindhe.io>2017-10-31 08:33:46 +0100
committerAndreas Lindhé <andreas@lindhe.io>2017-10-31 08:41:40 +0100
commitbc5ecd6da7f068a12b9ee5397178723481c7a3ea (patch)
tree6ac5bb33df7c3aacde8eb254c4aee1ce1df9dd29 /broccoli/Makefile
parent2d5d5be5702867a7a719312a5a148489c3b68f31 (diff)
downloadmidbro-bc5ecd6da7f068a12b9ee5397178723481c7a3ea.tar.gz
midbro-bc5ecd6da7f068a12b9ee5397178723481c7a3ea.tar.bz2
Move all files one level down
Diffstat (limited to 'broccoli/Makefile')
-rw-r--r--broccoli/Makefile34
1 files changed, 0 insertions, 34 deletions
diff --git a/broccoli/Makefile b/broccoli/Makefile
deleted file mode 100644
index 02d9f66..0000000
--- a/broccoli/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-CC=gcc
-LIBCFLAGS =-c -fPIC -DBROCCOLI
-CFLAGS =-c -DBROCCOLI
-INC =-I/usr/local/include -I/usr/local/include -I./includes
-LDFLAGS = -L/usr/local/lib -lbroccoli -pthread
-DEBUG =
-SRC = midbro.c broevent.c fifoqueue.c
-OBJ = $(patsubst %.c, build/%.o, $(SRC))
-
-all: dirs lib/midbro bin/pasad
-
-dirs:
- mkdir -p build bin lib
-
-lib/midbro: $(OBJ)
- $(CC) -shared $^ -o lib/libmidbro.so $(LDFLAGS)
-
-midbro_test:
- $(CC) test/midbro_test.c -I./includes -o bin/midbro_test -L./lib -lmidbro
-
-bin/pasad: build/pasad.o
- $(CC) $^ $(INC) -o $@ -Llib -lmidbro -Wl,-rpath=$(shell pwd)/lib
-
-build/%.o: src/%.c
- $(CC) $(LIBCFLAGS) $(DEBUG) $(INC) $< -o $@
-
-bin/tests: build/fifoqueue.o build/tests.o
- $(CC) $^ -o bin/tests $(LDFLAGS)
-
-build/tests.o: test/tests.c
- $(CC) $(CFLAGS) $(INC) $< -o $@
-
-clean:
- rm build/* bin/*