mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
minor: fix warning from mkdir
This commit is contained in:
parent
39f01d2626
commit
1cea4fa074
@ -16,7 +16,7 @@ $(BINDIR)native_base.a: $(OBJ)
|
|||||||
|
|
||||||
# compile and generate dependency info
|
# compile and generate dependency info
|
||||||
$(BINDIR)%.o: %.c
|
$(BINDIR)%.o: %.c
|
||||||
-mkdir $(BINDIR)
|
-mkdir -p $(BINDIR)
|
||||||
$(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -c $*.c -o $(BINDIR)$*.o
|
$(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -c $*.c -o $(BINDIR)$*.o
|
||||||
$(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -MM $*.c > $(BINDIR)$*.d
|
$(CC) $(CFLAGS) $(INCLUDES) $(BOARDINCLUDE) $(PROJECTINCLUDE) $(CPUINCLUDE) -MM $*.c > $(BINDIR)$*.d
|
||||||
@printf "$(BINDIR)"|cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d
|
@printf "$(BINDIR)"|cat - $(BINDIR)$*.d > /tmp/riot_out && mv /tmp/riot_out $(BINDIR)$*.d
|
||||||
@ -24,5 +24,5 @@ $(BINDIR)%.o: %.c
|
|||||||
# remove compilation products
|
# remove compilation products
|
||||||
clean:
|
clean:
|
||||||
rm -f $(BINDIR)native_base.a $(OBJ) $(DEP)
|
rm -f $(BINDIR)native_base.a $(OBJ) $(DEP)
|
||||||
-rmdir $(BINDIR)
|
-rmdir -p $(BINDIR)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user