]> git.donarmstrong.com Git - lib.git/blobdiff - signature_stuff/Makefile
use strfile if it exists, otherwise just use touch
[lib.git] / signature_stuff / Makefile
index bef1532c1e50c742ef44a460ac817f4fa5ffcdb2..6fb65beb98cba2978ec3da5673a9a5a2df823f75 100644 (file)
@@ -1,7 +1,9 @@
 
 all: $(patsubst %.txt,%.txt.dat,$(wildcard *.txt))
 
+STRFILE=$(shell which strfile || echo touch -r)
+
 %.txt.dat: %.txt
-       strfile $< $@
+       $(STRFILE) $< $@
 
-.PHONY: all
\ No newline at end of file
+.PHONY: all