From: Don Armstrong Date: Tue, 21 Jan 2014 00:44:53 +0000 (-0800) Subject: use strfile if it exists, otherwise just use touch X-Git-Url: https://git.donarmstrong.com/?p=lib.git;a=commitdiff_plain;h=02f38fea5cad093f06a33300953e5a681bf176a7 use strfile if it exists, otherwise just use touch --- diff --git a/signature_stuff/Makefile b/signature_stuff/Makefile index bef1532..6fb65be 100644 --- a/signature_stuff/Makefile +++ b/signature_stuff/Makefile @@ -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