aboutsummaryrefslogtreecommitdiff
path: root/broccoli/Makefile
blob: d6e2a37909b1d38629105b59588815822e8e0831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CC=gcc
CFLAGS = -c -Wall -I/usr/local/include -I/usr/local/include -DBROCCOLI 
LDFLAGS =  -L/usr/local/lib -lbroccoli -pthread

all: midbropasad

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

fifoqueue.o: fifoqueue.c
	$(CC) -c -Wall fifoqueue.c
clean:
	rm *.o midbropasad