mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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 = $(ASMSRC:%.s=$(BINDIR)%.o)
|
||||||
ASMOBJ += $(ASSMSRC:%.S=$(BINDIR)%.o)
|
ASMOBJ += $(ASSMSRC:%.S=$(BINDIR)%.o)
|
||||||
|
|
||||||
SRC = $(wildcard *.c)
|
ifeq ($(strip $(SRC)),)
|
||||||
|
SRC = $(wildcard *.c)
|
||||||
|
endif
|
||||||
OBJ = $(SRC:%.c=$(BINDIR)%.o)
|
OBJ = $(SRC:%.c=$(BINDIR)%.o)
|
||||||
DEP = $(SRC:%.c=$(BINDIR)%.d)
|
DEP = $(SRC:%.c=$(BINDIR)%.d)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user