]> git.donarmstrong.com Git - lib.git/commitdiff
use strfile if it exists, otherwise just use touch
authorDon Armstrong <don@donarmstrong.com>
Tue, 21 Jan 2014 00:44:53 +0000 (16:44 -0800)
committerDon Armstrong <don@donarmstrong.com>
Tue, 21 Jan 2014 00:44:53 +0000 (16:44 -0800)
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