diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-05 14:21:30 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-05 14:21:30 +1300 |
commit | d70bee9f0796bb782eee62c6dce779e54c2bdc62 (patch) | |
tree | 42209a602ece7e5819cb422b3fc2d0f9e18b88aa /Makefile | |
parent | Wrap built binscripts into Makefile var (diff) | |
download | dotfiles-d70bee9f0796bb782eee62c6dce779e54c2bdc62.tar.gz dotfiles-d70bee9f0796bb782eee62c6dce779e54c2bdc62.zip |
Wrap built games into Makefile var
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -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 ; \ |