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

fixes to build default project and clean properly

This commit is contained in:
Thomas Eichinger 2013-12-09 13:03:43 +01:00
parent 18fe32ffc5
commit 44dfb87cde
2 changed files with 4 additions and 2 deletions

View File

@ -29,8 +29,8 @@ $(BINDIR)%.o: %.c
# remove compilation products
clean:
${MAKE} -C drivers clean
rm -f $(OBJ) $(DEP)
"$(MAKE)" -C drivers clean
rm -f $(BINDIR)$(ARCH) $(OBJ) $(DEP)
@if [ -d $(BINDIR) ] ; \
then rmdir $(BINDIR) ; \
fi

View File

@ -27,3 +27,5 @@ endif
export HEXFILE = bin/$(PROJECT).hex
export FFLAGS = -t $(PORT) -f $(HEXFILE) -c 'bbmc -l redbee-econotag reset'
export OFLAGS = -O binary --gap-fill=0xff
export INCLUDES += -I $(RIOTCPU)/$(CPU)/include/