diff --git a/.cproject b/.cproject index de1188a..8f54c38 100644 --- a/.cproject +++ b/.cproject @@ -168,6 +168,7 @@ make + all true true @@ -175,7 +176,6 @@ make - clean true true @@ -183,15 +183,16 @@ make + ram true true true - + make - basflash + bfl true true true diff --git a/Makefile b/Makefile index f8b751a..1e6f9a1 100644 --- a/Makefile +++ b/Makefile @@ -132,7 +132,8 @@ $(OBJDIR)/%.o:$(SRCDIR)/%.S $(CC) -c $(CFLAGS) -Wa,--bitwise-or $(INCLUDE) $< -o $@ depend: $(ASRCS) $(CSRCS) - $(CC) $(CFLAGS) $(INCLUDE) -M $(ASRCS) $(CSRCS) > depend + $(CC) $(CFLAGS) $(INCLUDE) -M $(ASRCS) $(CSRCS) | sed -e 's/^\(.*\).o:/$(OBJDIR)\/\1.o:/' > depend + ifneq (clean,$(MAKECMDGOALS)) -include depend