Merge pull request #21 from limhyon/patch-1

Update Makefile
This commit is contained in:
dongie 2013-11-28 15:42:05 -08:00
commit 72c879560e
1 changed files with 4 additions and 0 deletions

View File

@ -100,6 +100,10 @@ OLIMEXINO_SRC = drv_spi.c \
drv_pwm.c \ drv_pwm.c \
drv_timer.c \ drv_timer.c \
$(COMMON_SRC) $(COMMON_SRC)
# In some cases, %.s regarded as intermediate file, which is actually not.
# This will prevent accidental deletion of startup code.
.PRECIOUS: %.s
# Search path for baseflight sources # Search path for baseflight sources
VPATH := $(SRC_DIR):$(SRC_DIR)/baseflight_startups VPATH := $(SRC_DIR):$(SRC_DIR)/baseflight_startups