jw-pkg/make/tools.mk
Jan Lindemann 58ab619f0b 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>
2019-03-19 07:07:00 +00:00

20 lines
510 B
Makefile

# generic utility modules
# (c) 2001 jannet it services
# contact@jannet.de
# $Id$
include $(MODDIR)/make/defs.mk
include $(MODDIR)/make/defs-cpp.mk
include $(MODDIR)/make/profiler-defs.mk
include $(MODDIR)/make/targets-tools.mk
include $(MODDIR)/make/cpp-extra-targets.mk
include $(MODDIR)/make/depend.mk
include $(MODDIR)/make/backup.mk
include $(MODDIR)/make/dev-utils.mk
LOCAL_CFLAGS += -D_USRDLL -DALL_EXPORTS
LOCAL_CXXFLAGS += -D_USRDLL -DALL_EXPORTS
ifneq ($(SRC_ALL_CPP),)
all: all.done
endif