aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Gustafsson <robg@student.chalmers.se>2017-09-26 09:10:55 +0200
committerAndreas Lindhé <andreas@lindhe.io>2017-10-09 12:14:35 +0200
commita5cfcd3770e0860013bef2e2fdfe2ec4969bdab7 (patch)
tree9855c60a5ab265612e7c12a79d45d5a420bf99db /Makefile
parent888e5074c46584ae9f9b4621cb9b4ae1084aa100 (diff)
downloadmidbro-a5cfcd3770e0860013bef2e2fdfe2ec4969bdab7.tar.gz
midbro-a5cfcd3770e0860013bef2e2fdfe2ec4969bdab7.tar.bz2
Add first test of broccoli
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c8484f9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+CC=gcc
+CFLAGS = -c -Wall -I/usr/local/include -I/usr/local/include -DBROCCOLI
+LDFLAGS = -L/usr/local/lib -lbroccoli
+
+all: pasad
+
+pasad: pasad.o
+ $(CC) pasad.o -o pasad $(LDFLAGS)
+
+pasad.o: pasad.c
+ $(CC) $(CFLAGS) pasad.c
+
+clean:
+ rm *.o pasad