1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/native/Makefile

15 lines
318 B
Makefile
Raw Normal View History

2013-03-06 01:08:15 +01:00
MODULE = cpu
2014-02-14 14:30:16 +01:00
ifneq (,$(filter rtc,$(USEMODULE)))
2013-03-06 01:08:15 +01:00
DIRS += rtc
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter nativenet,$(USEMODULE)))
2013-08-08 11:08:33 +02:00
DIRS += net
2013-03-21 17:08:41 +01:00
endif
2013-03-06 01:08:15 +01:00
2013-03-12 16:03:37 +01:00
include $(RIOTBASE)/Makefile.base
2013-03-06 01:08:15 +01:00
$(BINDIR)$(MODULE)/%.o: %.c
@mkdir -p $(BINDIR)$(MODULE)
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MD -MP -c -o $(BINDIR)$(MODULE)/$*.o $(abspath $*.c)