From d70bee9f0796bb782eee62c6dce779e54c2bdc62 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 5 Jan 2017 14:21:30 +1300 Subject: Wrap built games into Makefile var --- Makefile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'Makefile') 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 ; \ -- cgit v1.2.3