Respect and use CPPFLAGS
This commit is contained in:
parent
8734337fb5
commit
a2a7de5e54
|
@ -19,7 +19,7 @@ doc:
|
||||||
|
|
||||||
src/%.o: src/%.c ${HEADERS}
|
src/%.o: src/%.c ${HEADERS}
|
||||||
echo "CC $<"
|
echo "CC $<"
|
||||||
$(CC) $(CFLAGS) -c -o $@ $<
|
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
echo "INSTALL"
|
echo "INSTALL"
|
||||||
|
|
|
@ -13,9 +13,10 @@ CFLAGS += -idirafter yajl-fallback
|
||||||
|
|
||||||
CFLAGS += -Wall
|
CFLAGS += -Wall
|
||||||
CFLAGS += -pipe
|
CFLAGS += -pipe
|
||||||
CFLAGS += -Iinclude
|
|
||||||
CFLAGS += -g
|
CFLAGS += -g
|
||||||
CFLAGS += -DI3BAR_VERSION=\"${GIT_VERSION}\"
|
|
||||||
|
CPPFLAGS += -DI3BAR_VERSION=\"${GIT_VERSION}\"
|
||||||
|
CPPFLAGS += -Iinclude
|
||||||
|
|
||||||
LDFLAGS += -lev
|
LDFLAGS += -lev
|
||||||
LDFLAGS += -lyajl
|
LDFLAGS += -lyajl
|
||||||
|
|
Loading…
Reference in New Issue