mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
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
12
make/proj.mk
12
make/proj.mk
|
|
@ -33,18 +33,12 @@ FTP_FILE_MODE = 644
|
|||
FTP_DIR_MODE = 755
|
||||
|
||||
ifeq ($(DEVELOPMENT),true)
|
||||
include $(TOPDIR)/make/cfg_dev.mk
|
||||
include $(TOPDIR)/make/cfg_dev.mk
|
||||
else
|
||||
include $(TOPDIR)/make/cfg_dist.mk
|
||||
include $(TOPDIR)/make/cfg_dist.mk
|
||||
endif
|
||||
|
||||
PREREQ_BUILD += jw-build
|
||||
USE_GLIB = true
|
||||
|
||||
CFLAGS += -D_USRDLL -DJW_BUILD_EXPORTS
|
||||
CPPFLAGS += -D_USRDLL -DJW_BUILD_EXPORTS
|
||||
|
||||
#DEBUG_FORMAT_FLAG ?= -gstabs+
|
||||
PROJECT_CFLAGS += $(DEBUG_FORMAT_FLAG)
|
||||
PROJECT_CPPFLAGS += $(DEBUG_FORMAT_FLAG)
|
||||
PROJECT_LDFLAGS += $(DEBUG_FORMAT_FLAG)
|
||||
PROJECT_CPPFLAGS += -D_USRDLL -DJW_BUILD_EXPORTS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue