2013-12-21 16:27:45 +01:00
|
|
|
MODULE =$(BOARD)_base
|
2013-06-12 16:23:34 +02:00
|
|
|
|
2013-12-21 16:27:45 +01:00
|
|
|
all: $(BINDIR)$(MODULE).a
|
2014-03-12 11:03:34 +01:00
|
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i || exit 1; done ;
|
2013-06-12 16:23:34 +02:00
|
|
|
|
2013-12-21 16:27:45 +01:00
|
|
|
include $(RIOTBASE)/Makefile.base
|
2014-02-27 10:30:30 +01:00
|
|
|
|
2014-04-09 15:23:12 +02:00
|
|
|
$(BINDIR)$(MODULE)/%.o: %.c
|
|
|
|
@mkdir -p $(BINDIR)$(MODULE)
|
|
|
|
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -c $*.c -o $(BINDIR)$(MODULE)/$*.o
|
2014-03-03 16:03:43 +01:00
|
|
|
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MM $*.c |\
|
2014-04-09 15:23:12 +02:00
|
|
|
sed -e "1s|^|$(BINDIR)$(MODULE)/|" > $(BINDIR)$(MODULE)/$*.d
|