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

* created (and remove) bin-directory in makefile

This commit is contained in:
Oleg Hahm 2013-02-06 13:56:06 +01:00
parent fe86cbff55
commit cc76582c74

View File

@ -19,6 +19,7 @@ $(BINDIR)msba2_base.a: $(OBJ)
# compile and generate dependency info
$(BINDIR)%.o: %.c
mkdir $(BINDIR)
$(CC) $(CFLAGS) $(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
@ -27,4 +28,5 @@ $(BINDIR)%.o: %.c
clean:
$(MAKE) -C ../msba2-common clean
rm -f $(BINDIR)msba2_base.a $(OBJ) $(DEP)
rmdir $(BINDIR)