mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Allowing re-definition of LOCAL_C _CPP _H files
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
da6a6b5cd8
commit
b40e24604b
1 changed files with 4 additions and 4 deletions
|
|
@ -227,10 +227,10 @@ SRC_SUFFIX += $(sort $(suffix $(wildcard $(TOPDIR)/hdr/*)))
|
|||
LOCAL_SRC += Makefile $(wildcard $(addprefix *,$(SRC_SUFFIX)))
|
||||
SRC_HEADERED += $(shell if [ "$(LOCAL_SRC)" ]; then grep -ic "it services" $(LOCAL_SRC) | $(SED) '/:0$$/ d; s/:.*$$//'; fi)
|
||||
SRC_UNHEADERED += $(filter-out $(SRC_HEADERED),$(LOCAL_SRC))
|
||||
LOCAL_C += $(wildcard *.c)
|
||||
LOCAL_CPP += $(wildcard *.cc *.cpp *.C)
|
||||
LOCAL_H += $(wildcard *.h *.H)
|
||||
SFILES += $(wildcard *.S)
|
||||
LOCAL_C ?= $(wildcard *.c)
|
||||
LOCAL_CPP ?= $(wildcard *.cc *.cpp *.C)
|
||||
LOCAL_H ?= $(wildcard *.h *.H)
|
||||
SFILES ?= $(wildcard *.S)
|
||||
#PREREQ_H += $(foreach dir,$(PREREQ_DIR),$(wildcard $(dir)/*.h))
|
||||
ALL_H += $(LOCAL_H) $(PREREQ_H)
|
||||
SRC_ALL_CPP += $(LOCAL_C) $(LOCAL_CPP) $(LOCAL_H)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue