summaryrefslogtreecommitdiffstats
path: root/Cancer/assets/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Cancer/assets/Makefile')
-rw-r--r--Cancer/assets/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Cancer/assets/Makefile b/Cancer/assets/Makefile
new file mode 100644
index 00000000..07efde82
--- /dev/null
+++ b/Cancer/assets/Makefile
@@ -0,0 +1,11 @@
+
+hooks := pre-commit
+binaries := $(shell ls bin/)
+.PHONY: all
+
+all: $(addprefix ../db/.git/hooks/,$(hooks)) $(addprefix ../bin/,$(binaries))
+
+../bin/%: bin/%
+ cp $< $@
+../db/.git/hooks/%: hooks/%
+ cp $< $@