mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
14 lines
503 B
Makefile
14 lines
503 B
Makefile
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/sys/include
|
|
|
|
EXCLUDES := -I$(RIOTBASE)/sys/posix/%
|
|
|
|
MODULE = nativenet
|
|
|
|
include $(MAKEBASE)/Makefile.base
|
|
|
|
$(BINDIR)%.o: %.c
|
|
$(CC) $(CFLAGS) $(filter-out $(EXCLUDES),$(INCLUDES)) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -c $*.c -o $(BINDIR)$*.o
|
|
@$(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -MM $*.c > $(BINDIR)$*.d
|
|
@printf "$(BINDIR)" | cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d
|
|
|