Files
mesa/Makefile
T
Carl Worth a1e32bcff0 Add some compiler warnings and corresponding fixes.
Most of the current problems were (mostly) harmless things like
missing declarations, but there was at least one real error, (reversed
argument order for yyerrror).
2010-05-10 13:32:29 -07:00

15 lines
278 B
Makefile

override CFLAGS += -Wall -Wextra -Wwrite-strings -Wswitch-enum -Wno-unused
glcpp: glcpp.o glcpp-lex.o glcpp-parse.o
%.c %.h: %.y
bison --defines=$*.h --output=$*.c $^
%.c: %.l
flex --outfile=$@ $<
glcpp-lex.c: glcpp-parse.h
clean:
rm -f glcpp-lex.c glcpp-parse.c *.o *~