fixed depend targets
This commit is contained in:
@@ -178,7 +178,7 @@ else
|
|||||||
MACHINE=MACHINE_M5484LITE
|
MACHINE=MACHINE_M5484LITE
|
||||||
endif
|
endif
|
||||||
$(1)/depend:$(SRCS)
|
$(1)/depend:$(SRCS)
|
||||||
$(CC) $$(CFLAGS) -D$$(MACHINE) $(INCLUDE) -M $$^ | sed -e "s#^\(.*\).o:#$$d/objs/\1.o:#" > $$@
|
$(CC) $$(CFLAGS) -D$$(MACHINE) $(INCLUDE) -M $$^ | sed -e "s#^\(.*\).o:#"$(1)"/objs/\1.o:#" > $$@
|
||||||
endef
|
endef
|
||||||
$(foreach DIR,$(TRGTDIRS),$(eval $(call DEP_TEMPLATE,$(DIR))))
|
$(foreach DIR,$(TRGTDIRS),$(eval $(call DEP_TEMPLATE,$(DIR))))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user