mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
defs-cpp.mk: Treat *.sx as valid extension for assembly sources
Now *.sx and *.S are treated as assembly source files. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
3b75db2867
commit
a65a1df971
1 changed files with 2 additions and 2 deletions
|
|
@ -192,14 +192,14 @@ SRC_UNHEADERED += $(filter-out $(SRC_HEADERED),$(LOCAL_SRC))
|
|||
LOCAL_C ?= $(wildcard *.c)
|
||||
LOCAL_CPP ?= $(wildcard *.cc *.cpp *.C)
|
||||
LOCAL_H ?= $(wildcard *.h *.H *.hpp)
|
||||
SFILES ?= $(wildcard *.S)
|
||||
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_C += $(filter %.c, $(SRC_ALL_CPP))
|
||||
SRC_CPP += $(filter %.cc %.cpp %.C, $(SRC_ALL_CPP))
|
||||
OBJ += $(addprefix $(FLAVOUR_PREFIX),$(patsubst %.C,%.o,$(patsubst %.cpp,%.o,$(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(filter %.c %.cpp %.cc %.C, $(SRC_ALL_CPP)))))))
|
||||
OBJ += $(addprefix $(FLAVOUR_PREFIX),$(patsubst %.S,%.o,$(SFILES)))
|
||||
OBJ += $(addprefix $(FLAVOUR_PREFIX),$(patsubst %.sx,%.o,$(patsubst %.S,%.o,$(SFILES))))
|
||||
|
||||
#PREREQ_C += $(foreach dir,$(PREREQ_DIR),$(wildcard $(dir)/*.c))
|
||||
#PREREQ_CPP += $(foreach dir,$(PREREQ_DIR),$(wildcard $(dir)/*.c)) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue