aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-05 14:21:30 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-05 14:21:30 +1300
commitd70bee9f0796bb782eee62c6dce779e54c2bdc62 (patch)
tree42209a602ece7e5819cb422b3fc2d0f9e18b88aa /Makefile
parentWrap built binscripts into Makefile var (diff)
downloaddotfiles-d70bee9f0796bb782eee62c6dce779e54c2bdc62.tar.gz
dotfiles-d70bee9f0796bb782eee62c6dce779e54c2bdc62.zip
Wrap built games into Makefile var
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 8ae9b94e..420475dd 100644
--- a/Makefile
+++ b/Makefile
@@ -87,19 +87,21 @@ BINS = bin/csmw \
bin/unf \
bin/uts \
+GAMES = games/acq \
+ games/aesth \
+ games/chkl \
+ games/drakon \
+ games/kvlt \
+ games/rot13 \
+ games/strik \
+ games/zs
+
all : $(BINS) git/gitconfig gnupg/gpg.conf
clean distclean :
rm -f \
$(BINS) \
- games/acq \
- games/aesth \
- games/chkl \
- games/drakon \
- games/kvlt \
- games/rot13 \
- games/strik \
- games/zs \
+ $(GAMES) \
git/gitconfig \
gnupg/gpg.conf \
man/man7/dotfiles.7df \
@@ -210,8 +212,7 @@ install-finger :
install -pm 0644 -- finger/project "$(HOME)"/.project
install -pm 0644 -- finger/pgpkey "$(HOME)"/.pgpkey
-install-games : games/acq games/aesth games/chkl games/drakon games/kvlt \
- games/rot13 games/strik games/zs check-games install-games-man
+install-games : $(GAMES) install-games-man
install -m 0755 -d -- "$(HOME)"/.local/games
for name in games/* ; do \
[ -x "$$name" ] || continue ; \