From 3669a7efc038a6f7d9f300e1c8af63674945945c Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Fri, 30 Jan 2026 09:57:56 -0800 Subject: [PATCH] [fortune] Rename bare fortune file with .txt extension; rewrite Makefile as a bmake style Makefile --- Fortune/Makefile | 19 +++++++++---------- Fortune/{eryn => eryn.txt} | 0 2 files changed, 9 insertions(+), 10 deletions(-) rename Fortune/{eryn => eryn.txt} (100%) diff --git a/Fortune/Makefile b/Fortune/Makefile index 9a1c213..859c115 100644 --- a/Fortune/Makefile +++ b/Fortune/Makefile @@ -1,16 +1,15 @@ +# Makefile +# Eryn Wells -STRFILE=strfile +STRFILE != which strfile +DATFILES := eryn.dat -DATFILES=eryn.dat +.SUFFIXES : .dat .txt -.PHONY: all clean +.txt.dat : + $(STRFILE) $(.IMPSRC) $(.TARGET) -%.dat: % - $(STRFILE) $^ $@ +all : $(DATFILES) -.PHONY: all -all: $(DATFILES) - -.PHONY: clean -clean: +clean : .PHONY rm -f $(DATFILES) diff --git a/Fortune/eryn b/Fortune/eryn.txt similarity index 100% rename from Fortune/eryn rename to Fortune/eryn.txt