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
|
|
|
|
2014-04-09 15:23:12 +02:00
|
|
|
$(BINDIR)$(MODULE)/%.o: %.c
|
|
|
|
@mkdir -p $(BINDIR)$(MODULE)
|
2014-06-19 11:20:32 +02:00
|
|
|
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MD -MP -c -o $(BINDIR)$(MODULE)/$*.o $(abspath $*.c)
|