Makefile modified to treat dependencies properly, but still buggy...
This commit is contained in:
@ -14,7 +14,7 @@ $(if $(O),,$(error Specify the compilation target directory))
|
||||
$(if $(shell ls $(AALBASE)/Makefile),,\
|
||||
$(error AAL is not found in $(AALBASE)))
|
||||
|
||||
.PHONY: all clean
|
||||
.PHONY: all clean depend
|
||||
|
||||
all: $(KERNELS)
|
||||
|
||||
@ -28,6 +28,7 @@ all: $(KERNELS)
|
||||
@echo 'AALBASE = $(AALBASE)' >> $@
|
||||
@echo 'TARGET = $(notdir $(patsubst %/,%,$(dir $@)))' >> $@
|
||||
@cat Makefile.build >> $@
|
||||
@rm -f $(dir $@)/Makefile.dep
|
||||
|
||||
clean: $(addsuffix .clean,$(BUILD_TARGET))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user