Add hash table implementation from glsl2 project.
[mesa.git] / Makefile
1 override CFLAGS += -Wall -Wextra -Wwrite-strings -Wswitch-enum -Wno-unused
2
3 glcpp: glcpp.o glcpp-lex.o glcpp-parse.o hash_table.o
4
5 %.c %.h: %.y
6 bison --defines=$*.h --output=$*.c $^
7
8 %.c: %.l
9 flex --outfile=$@ $<
10
11 glcpp-lex.c: glcpp-parse.h
12
13 clean:
14 rm -f glcpp-lex.c glcpp-parse.c *.o *~