summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <luke@HP-dv6426us-u904.(none)>2009-10-25 04:05:40 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:17 -0600
commit293baaf7cca32bf6f94412a039ca204f5ac0734f (patch)
tree22389711fb6dc204f9a89a7bef6f6c7fe71e5ef1 /Makefile
parentedd72c20edf7af7c0e3db40e8e6d64510dc60a4c (diff)
major rewrite on build system, make doesn't complain for diff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 3ab342a..497805e 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,6 @@ name=thing
# programs
SHELL = /bin/sh
-CP = cp
RM = rm -f
MKDIR = mkdir -p
@@ -31,10 +30,9 @@ all :
.SECONDARY:
-
-
-%/COPYING : COPYING %/; $(CP) $< $@
-%/configure : configure %/; $(CP) $< $@
+%/COPYING : COPYING %/; cp $< $@
+%/configure : configure %/; cp $< $@
+%/Makefile.in : Makefile.in %/; cp $< $@
clean-mods = $(addprefix clean-,$(mods))
distclean-mods = $(addprefix distclean-,$(mods))
@@ -46,7 +44,7 @@ distclean-% : % %/
$(RM) $</COPYING
$(RM) $</configure
-complete-% : %/COPYING %/configure; :
+complete-% : %/COPYING %/configure %/Makefile.in; :
%-build : %/; $(MKDIR) $@
%-build/Makefile : %-build %/configure