summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 52e429a..e4a2113 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ INSTALL = abcde.conf \
xmonad
INSTALLED = $(patsubst %,$(INTO)/.%,$(INSTALL))
-BUILD = bin/nethack/timettyrec pwsafe.dat
+BUILD = bin/nethack/timettyrec pwsafe.dat $(addsuffix .dat,$(filter-out %.dat,$(wildcard fortune/*)))
ECHO = @echo
LN = @ln -sf
@@ -72,4 +72,8 @@ $(INTO)/.% : %
pwsafe.dat :
wget -q http://tozt.net/.pwsafe.dat -O pwsafe.dat
+fortune/%.dat : fortune/%
+ @echo "Compiling $@"
+ @strfile -s $(basename $@)
+
.PHONY: build install clean