mesa/Makefile
Carl Worth 633a692225 Add hash table implementation from glsl2 project.
The preprocessor here is intended to become part of the glsl2 codebase
eventually anyway.
2010-05-10 13:36:26 -07:00

14 lines
291 B
Makefile

override CFLAGS += -Wall -Wextra -Wwrite-strings -Wswitch-enum -Wno-unused
glcpp: glcpp.o glcpp-lex.o glcpp-parse.o hash_table.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 *~