summaryrefslogtreecommitdiff
path: root/broccoli/Makefile
diff options
context:
space:
mode:
authorRobert Gustafsson <robg@student.chalmers.se>2017-09-28 14:25:01 +0200
committerRobert Gustafsson <robg@student.chalmers.se>2017-09-28 14:25:01 +0200
commit733ad771621e6a43866e9686481609ed9ce6f860 (patch)
tree8bdab7c7a6955e3762856f36bbe7d1b3709f6dff /broccoli/Makefile
parent03bb5c1c6ddf0f6ea9ef3381769cc41969fc2a5d (diff)
downloadmidbro-733ad771621e6a43866e9686481609ed9ce6f860.tar.gz
midbro-733ad771621e6a43866e9686481609ed9ce6f860.tar.bz2
Some renaming
Diffstat (limited to 'broccoli/Makefile')
-rw-r--r--broccoli/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/broccoli/Makefile b/broccoli/Makefile
new file mode 100644
index 0000000..d895274
--- /dev/null
+++ b/broccoli/Makefile
@@ -0,0 +1,16 @@
+CC=gcc
+CFLAGS = -c -Wall -I/usr/local/include -I/usr/local/include -DBROCCOLI
+LDFLAGS = -L/usr/local/lib -lbroccoli
+
+all: broevent
+
+broevent: broevent.o fifoqueue.o
+ $(CC) broevent.o fifoqueue.o -o broevent $(LDFLAGS)
+
+broevent.o: broevent.c
+ $(CC) $(CFLAGS) broevent.c
+
+fifoqueue.o: fifoqueue.c
+ $(CC) -c -Wall fifoqueue.c
+clean:
+ rm *.o broevent