jw-pkg/make/proj.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

44 lines
1 KiB
Makefile

# (c) 2001 jannet it services
# contact@jannet.de
# $Id$
PROJECT = jw-build
MODDIR ?= $(TOPDIR)
JANWARE_WIKI = priv
REQUIRED = inst/pre \
make \
doc \
debug misc slog platform \
devutil \
hash \
hexdump \
lbuffer \
debug \
cfgfile gtopts \
lock sigsync shmem \
usrv uclnt statecheck msgfmt \
YMisc jw::Error \
YThread jw::Mutex YEvent YCbContr contr/Y2WayMap \
jw::Time YStopWatch YStopWatchList YStopWatchQueue YStopWatchThreadList \
lib include bin \
inst/post
# rpmdist.mk variable overrides
FTP_SRC_GROUP = ytsrc
FTP_RUN_GROUP = ytrun
FTP_DEV_GROUP = ytdev
FTP_FILE_MODE = 644
FTP_DIR_MODE = 755
ifeq ($(DEVELOPMENT),true)
include $(TOPDIR)/make/cfg_dev.mk
else
include $(TOPDIR)/make/cfg_dist.mk
endif
PREREQ_BUILD += jw-build
USE_GLIB = true
PROJECT_CPPFLAGS += -D_USRDLL -DJW_BUILD_EXPORTS