mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Create project's bin directory if it does not exist
This commit is contained in:
parent
fa83bb4fd1
commit
065566cd04
@ -73,13 +73,14 @@ ${PROJBINDIR}/$(PROJECT).a: $(OBJ)
|
||||
|
||||
${PROJBINDIR}/%.o: %.c
|
||||
@echo; echo "Compiling.... $*.c"; echo
|
||||
@test -d $(PROJBINDIR) || mkdir $(PROJBINDIR)
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $*.c -o bin/$*.o
|
||||
|
||||
clean:
|
||||
$(MAKE) -C $(RIOTBOARD) clean
|
||||
$(MAKE) -C $(RIOTBASE) clean
|
||||
@for i in $(EXTERNAL_MODULES) ; do $(MAKE) -C $$i clean ; done ;
|
||||
rm -f $(PROJBINDIR)/*
|
||||
rm -rf $(PROJBINDIR)
|
||||
|
||||
flash: all
|
||||
$(FLASHER) $(FFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user