*.mk: Prefix non-env C/C++ flags with BUILD_

Prefix all CFLAGS / CPPFLAGS / LDFLAGS with BUILD_ to distinguish
them from flags read from the environment (and getting longer and
longer with +=).
This commit is contained in:
Jan Lindemann 2012-02-04 16:48:58 +00:00 committed by Jan Lindemann
commit 634992f447
6 changed files with 94 additions and 94 deletions

View file

@ -7,7 +7,7 @@ clean: clean.local
distclean:
version.o: version.cpp
$(CPP) $(CPPFLAGS) -o $@ -c $<
$(CPP) $(BUILD_CPPFLAGS) -o $@ -c $<
clean.local:
rm -f version.o