mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
15 lines
318 B
Makefile
15 lines
318 B
Makefile
MODULE = cpu
|
|
|
|
ifneq (,$(filter rtc,$(USEMODULE)))
|
|
DIRS += rtc
|
|
endif
|
|
ifneq (,$(filter nativenet,$(USEMODULE)))
|
|
DIRS += net
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.base
|
|
|
|
$(BINDIR)$(MODULE)/%.o: %.c
|
|
@mkdir -p $(BINDIR)$(MODULE)
|
|
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MD -MP -c -o $(BINDIR)$(MODULE)/$*.o $(abspath $*.c)
|