Makefile modified to treat dependencies properly, but still buggy...

This commit is contained in:
Taku Shimosawa
2012-02-28 10:58:41 +09:00
parent 27a3008a05
commit e77eab3233
2 changed files with 5 additions and 3 deletions

View File

@ -30,11 +30,12 @@ clean:
depend: Makefile.dep
Makefile.dep: $(DEPSRCS)
$(dep_cmd)
Makefile.dep:
$(call dep_cmd,$(DEPSRCS))
$(AALOBJ): FORCE
@mkdir -p $(dir $(AALOBJ))
$(call echo_cmd,BUILD AAL,$(TARGET))$(submake) -C $(AALBASE) $(SUBCMD_OPTS) prepare
$(call echo_cmd,BUILD AAL,$(TARGET))$(submake) -C $(AALBASE) $(SUBCMD_OPTS)
%.o: $(SRC)/%.c