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:
parent
fe86cbff55
commit
cc76582c74
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user