do not overwrite SRC in Makefile.base
This commit is contained in:
parent
94454f455d
commit
739cd03234
|
@ -3,7 +3,9 @@ ASSMSRC = $(wildcard *.S)
|
|||
ASMOBJ = $(ASMSRC:%.s=$(BINDIR)%.o)
|
||||
ASMOBJ += $(ASSMSRC:%.S=$(BINDIR)%.o)
|
||||
|
||||
SRC = $(wildcard *.c)
|
||||
ifeq ($(strip $(SRC)),)
|
||||
SRC = $(wildcard *.c)
|
||||
endif
|
||||
OBJ = $(SRC:%.c=$(BINDIR)%.o)
|
||||
DEP = $(SRC:%.c=$(BINDIR)%.d)
|
||||
|
||||
|
|
Loading…
Reference in New Issue