summaryrefslogtreecommitdiff
path: root/other/burneye/src/conf/Makefile
blob: b6ff8b23b3a5c630021c1fa2c3d50db9bf476077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

CFLAGS	= -Wall
ifeq ($(debug),on)
CFLAGS	+= -ggdb
DFLAGS	+= -DDEBUG
else
CFLAGS	+= -O2
endif

YACC	= bison
YACCOPT	= -b conf-parser -p cf -d -t -v
LEX	= flex
LEXOPT	= -pcf -oconf-lexer.c


conf-lexer.c:	config.l
	$(LEX) $(LEXOPT) config.l

clean:
#	rm -f conf-parser.[ch] conf-parser.output
#	rm -f conf-lexer.c