From 7bd84e78376e5f5b87349d00766b024964bb84b3 Mon Sep 17 00:00:00 2001 From: Robert Gustafsson Date: Thu, 28 Sep 2017 15:09:48 +0200 Subject: Add new main file --- broccoli/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'broccoli/Makefile') 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 -- cgit v1.2.3