aboutsummaryrefslogtreecommitdiff
path: root/broccoli/Makefile
diff options
context:
space:
mode:
authorRobert Gustafsson <robg@student.chalmers.se>2017-09-28 14:25:01 +0200
committerAndreas Lindhé <andreas@lindhe.io>2017-10-09 12:14:35 +0200
commit209a57957267823302cd8aedf47de406edbc6488 (patch)
tree892312be721ed72ede629fa66bff889b426013ec /broccoli/Makefile
parent2f5b120d90ce98676447df7fbf27397029d84ebd (diff)
downloadmidbro-209a57957267823302cd8aedf47de406edbc6488.tar.gz
midbro-209a57957267823302cd8aedf47de406edbc6488.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