aboutsummaryrefslogtreecommitdiff
path: root/broccoli/Makefile
diff options
context:
space:
mode:
authorRobert Gustafsson <robg@student.chalmers.se>2017-09-28 15:09:48 +0200
committerAndreas Lindhé <andreas@lindhe.io>2017-10-09 12:14:35 +0200
commitef50d0a5d1e592bc512f6d6b892dfded6d6d7aaa (patch)
treebaa900837b70fc260df65a7be1c5443b996bf706 /broccoli/Makefile
parent1c64cf73cde5b15f02d5a4d7ba4e611ea4d05316 (diff)
downloadmidbro-ef50d0a5d1e592bc512f6d6b892dfded6d6d7aaa.tar.gz
midbro-ef50d0a5d1e592bc512f6d6b892dfded6d6d7aaa.tar.bz2
Add new main file
Diffstat (limited to 'broccoli/Makefile')
-rw-r--r--broccoli/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/broccoli/Makefile b/broccoli/Makefile
index d895274..3fafbea 100644
--- a/broccoli/Makefile
+++ b/broccoli/Makefile
@@ -2,10 +2,13 @@ CC=gcc
CFLAGS = -c -Wall -I/usr/local/include -I/usr/local/include -DBROCCOLI
LDFLAGS = -L/usr/local/lib -lbroccoli
-all: broevent
+all: midbropasad
-broevent: broevent.o fifoqueue.o
- $(CC) broevent.o fifoqueue.o -o broevent $(LDFLAGS)
+midbropasad: midbropasad.o broevent.o fifoqueue.o
+ $(CC) midbropasad.o broevent.o fifoqueue.o -o midbropasad $(LDFLAGS)
+
+midbropasad.o: midbropasad.c
+ $(CC) $(CFLAGS) midbropasad.c
broevent.o: broevent.c
$(CC) $(CFLAGS) broevent.c
@@ -13,4 +16,4 @@ broevent.o: broevent.c
fifoqueue.o: fifoqueue.c
$(CC) -c -Wall fifoqueue.c
clean:
- rm *.o broevent
+ rm *.o midbropasad