make: Rename CFLAGS, CXXFLAGS and CPPFLAGS variables
Rename CFLAGS and friends to follow the conventions of the implicit rules defined by GNU Make:
- $(CPPFLAGS) is passed to both C++ and C compiler - $(CXXFLAGS) is passed to C++ compiler only - $(CFLAGS) is passed to C compiler only - C++ compiler is in $(CXX)
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
dcba7d68bd
commit
58ab619f0b
18 changed files with 71 additions and 111 deletions
|
|
@ -9,7 +9,7 @@ ifeq ($(USE_WT),true)
|
|||
ifeq ($(USE_WT_HTTPD),true)
|
||||
PROJECT_LDFLAGS += -lwthttp
|
||||
PROJECT_CFLAGS += -DCONNECTOR_HTTP=YES
|
||||
PROJECT_CPPFLAGS += -DCONNECTOR_HTTP=YES
|
||||
PROJECT_CXXFLAGS += -DCONNECTOR_HTTP=YES
|
||||
endif
|
||||
|
||||
ifeq ($(USE_WT_DBO),true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue