summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:55:38 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:55:38 +0000
commit67ff87bf72a9f6315020c0cd74632631c834ce1b (patch)
tree277f5310d4a3312748ea874a1977f8c4c1629974 /buildlib
parent7ef724464cfe431862e0731327a3a131505fa38d (diff)
More Fixes
Author: jgg Date: 2000-01-14 06:26:36 GMT More Fixes
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/program.mak6
1 files changed, 5 insertions, 1 deletions
diff --git a/buildlib/program.mak b/buildlib/program.mak
index fe0d30de3..98bea9aa5 100644
--- a/buildlib/program.mak
+++ b/buildlib/program.mak
@@ -25,12 +25,16 @@ clean: clean/$(LOCAL)
veryclean: veryclean/$(LOCAL)
# 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 $@