Respect and use CPPFLAGS

next
Axel Wagner 2011-07-19 04:21:36 +02:00
parent 8734337fb5
commit a2a7de5e54
2 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,7 @@ doc:
src/%.o: src/%.c ${HEADERS}
echo "CC $<"
$(CC) $(CFLAGS) -c -o $@ $<
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
install: all
echo "INSTALL"

View File

@ -13,9 +13,10 @@ CFLAGS += -idirafter yajl-fallback
CFLAGS += -Wall
CFLAGS += -pipe
CFLAGS += -Iinclude
CFLAGS += -g
CFLAGS += -DI3BAR_VERSION=\"${GIT_VERSION}\"
CPPFLAGS += -DI3BAR_VERSION=\"${GIT_VERSION}\"
CPPFLAGS += -Iinclude
LDFLAGS += -lev
LDFLAGS += -lyajl