X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f760b7d2124f9b4498b62c481f08e56cc617e675..92b9551f03035f5a875a44588a318773f652da6a:/buildlib/program.mak diff --git a/buildlib/program.mak b/buildlib/program.mak index fe0d30de3..e0e76316c 100644 --- a/buildlib/program.mak +++ b/buildlib/program.mak @@ -24,13 +24,23 @@ program: $(BIN)/$(PROGRAM) clean: clean/$(LOCAL) veryclean: veryclean/$(LOCAL) +TYPE = src +include $(PODOMAIN_H) + +# Make Directories +MKDIRS += $(OBJ) $(DEP) $(BIN) + # The clean rules -.PHONY: clean/$(LOCAL) veryclean/$(LOCAL) +.PHONY: clean/$(LOCAL) veryclean/$(LOCAL) clean/$(LOCAL): -rm -f $($(@F)-OBJS) $($(@F)-DEP) veryclean/$(LOCAL): clean/$(LOCAL) -rm -f $($(@F)-BIN) +# The convience binary build rule +.PHONY: $(PROGRAM) +$(PROGRAM): $($(LOCAL)-BIN) + # The binary build rule $($(LOCAL)-BIN): $($(LOCAL)-OBJS) $($(LOCAL)-MKS) echo Building program $@