From 02f38fea5cad093f06a33300953e5a681bf176a7 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 20 Jan 2014 16:44:53 -0800 Subject: [PATCH] use strfile if it exists, otherwise just use touch --- signature_stuff/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.2