aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2016-03-05 13:49:48 +0000
committerTomasz Kramkowski <tk@the-tk.com>2016-03-05 13:49:48 +0000
commitdbdc4df860a4a8bdae8eff1de7d6f478df486165 (patch)
tree6ca58058f22bf425d83cf21cc9f5175da2602eb0
parent8202edc9b84b6011a2a7c6493d3801702c0cac3a (diff)
downloadc-stuff-dbdc4df860a4a8bdae8eff1de7d6f478df486165.tar.gz
c-stuff-dbdc4df860a4a8bdae8eff1de7d6f478df486165.tar.xz
c-stuff-dbdc4df860a4a8bdae8eff1de7d6f478df486165.zip
Makefile: support for file specific makefiles
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f5da2e9..d733143 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,6 @@ help:
@echo ' To uninstall <filename> `make target=<filename> uninstall`'
@echo ' To clean up `make clean`'
-
$(DESTDIR)$(bindir)/%: %
$(INSTALL) $^ $(DESTDIR)$(bindir)/$(target)
@@ -35,4 +34,6 @@ uninstall:
clean:
find . -mindepth 1 -maxdepth 1 -executable -type f ! -name "prefix_header" -delete
+-include *.mk
+
.PHONY : all install uninstall clean