diff options
Diffstat (limited to 'broccoli/Makefile')
-rw-r--r-- | broccoli/Makefile | 16 |
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 |