5 #CFLAGS = -std=c99 -Wall -g -DDEBUG
6 CFLAGS
= -std
=c99
-Wall
-g
11 cp
-f genevent
/usr
/local
/bin
13 genevent
: genevent.o parser.o
14 $(CC
) $(CFLAGS
) -o
$@
$^
16 genevent.o
: genevent.c genevent.h parser.h
17 $(CC
) $(CFLAGS
) -c
-o
$@
$<
19 parser.o
: parser.c parser.h
20 $(CC
) $(CFLAGS
) -c
-o
$@
$<
25 rm -rf
*.o
*~
*# genevent