Skip to content
Snippets Groups Projects
Commit 065566cd authored by Martine Lenders's avatar Martine Lenders
Browse files

Create project's bin directory if it does not exist

parent fa83bb4f
Branches
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment