OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add some compiler warnings and corresponding fixes.
[android-x86/external-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
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 *~