mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs-cpp.mk: Add support for SRC_ALL_CPP_IGNORE
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
d36ec44d5e
commit
cc929baf99
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@ LOCAL_H ?= $(wildcard *.h *.H *.hpp)
|
|||
SFILES ?= $(wildcard *.S *.sx)
|
||||
#PREREQ_H += $(foreach dir,$(PREREQ_DIR),$(wildcard $(dir)/*.h))
|
||||
ALL_H += $(LOCAL_H) $(PREREQ_H)
|
||||
SRC_ALL_CPP += $(LOCAL_C) $(LOCAL_CPP) $(LOCAL_H)
|
||||
SRC_ALL_CPP += $(filter-out $(SRC_ALL_CPP_IGNORE),$(LOCAL_C) $(LOCAL_CPP) $(LOCAL_H))
|
||||
SRC_C += $(filter %.c, $(SRC_ALL_CPP))
|
||||
SRC_CPP += $(filter %.cc %.cpp %.C, $(SRC_ALL_CPP))
|
||||
BUILD_OBJ += $(addprefix $(FLAVOUR_PREFIX),$(patsubst %.C,%.o,$(patsubst %.cpp,%.o,$(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(filter %.c %.cpp %.cc %.C, $(SRC_ALL_CPP)))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue