1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/native/net/Makefile

14 lines
503 B
Makefile
Raw Normal View History

2013-08-08 11:08:33 +02:00
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/sys/include
2013-12-23 00:17:36 +01:00
EXCLUDES := -I$(RIOTBASE)/sys/posix/%
2013-08-08 11:08:33 +02:00
MODULE = nativenet
include $(MAKEBASE)/Makefile.base
2013-12-23 00:17:36 +01:00
$(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