mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
change new/overlooked Makefiles
This commit is contained in:
parent
1bd3f7bb86
commit
a1aa0df9ae
@ -9,8 +9,9 @@ include $(RIOTBASE)/Makefile.base
|
||||
|
||||
$(BINDIR)%.o: %.c
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -c $*.c -o $(BINDIR)$*.o
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MM $*.c > $(BINDIR)$*.d
|
||||
@printf "$(BINDIR)" | cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MM $*.c |\
|
||||
sed -e "1s|^|$(BINDIR)|" > $(BINDIR)$*.d
|
||||
|
||||
|
||||
|
||||
clean::
|
||||
|
@ -7,5 +7,6 @@ include $(RIOTBASE)/Makefile.base
|
||||
|
||||
$(BINDIR)%.o: %.c
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -c $*.c -o $(BINDIR)$*.o
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MM $*.c > $(BINDIR)$*.d
|
||||
@printf "$(BINDIR)" | cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MM $*.c |\
|
||||
sed -e "1s|^|$(BINDIR)|" > $(BINDIR)$*.d
|
||||
|
||||
|
@ -4,5 +4,5 @@ include $(MAKEBASE)/Makefile.base
|
||||
|
||||
$(BINDIR)%.o: %.c
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -c $*.c -o $(BINDIR)$*.o
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MM $*.c > $(BINDIR)$*.d
|
||||
@printf "$(BINDIR)" | cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MM $*.c |\
|
||||
sed -e "1s|^|$(BINDIR)|" > $(BINDIR)$*.d
|
||||
|
@ -4,5 +4,5 @@ include $(MAKEBASE)/Makefile.base
|
||||
|
||||
$(BINDIR)%.o: %.c
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -c $*.c -o $(BINDIR)$*.o
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MM $*.c > $(BINDIR)$*.d
|
||||
@printf "$(BINDIR)" | cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d
|
||||
$(AD)$(CC) $(CFLAGS) $(NATIVEINCLUDES) -MM $*.c |\
|
||||
sed -e "1s|^|$(BINDIR)|" > $(BINDIR)$*.d
|
||||
|
Loading…
Reference in New Issue
Block a user