1 CFLAGS = -std=c99 -pedantic -pedantic-errors -Wall -g3 -O2 -D_ANSI_SOURCE_
2 CFLAGS += -fno-common \
4 -Wdeclaration-after-statement \
10 -Wp,-D_FORTIFY_SOURCE=2 \
13 -Wmissing-declarations \
14 -Wmissing-format-attribute \
16 -Wmissing-prototypes \
18 -Wold-style-definition \
26 -Wunsafe-loop-optimizations \
27 -Wunused-but-set-variable \
32 # For clock_nanosleep()
33 CFLAGS += -D_POSIX_C_SOURCE=200112L
38 fps-meter: fps-meter.o
41 rm -rf *~ *.o fps-meter