Respect and use CPPFLAGS
This commit is contained in:
parent
8734337fb5
commit
a2a7de5e54
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user