X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f760b7d2124f9b4498b62c481f08e56cc617e675..f8477782df203e1998a8704e71a1a3cc699e9e3a:/buildlib/program.mak?ds=sidebyside 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 $@