summaryrefslogtreecommitdiffstats
path: root/ching/ching/Makefile
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-02-17 14:05:02 -0500
committerCameron Katri <me@cameronkatri.com>2021-02-22 09:20:17 -0500
commit08eca96e71d96ad1f8e9b888875ab5570f208d19 (patch)
tree9cace520fa50d9ef5bb77c2d7ebdde40e6b40f7f /ching/ching/Makefile
parent3f650c87c6ee6692ad6a558bb03ccf3364fe794a (diff)
downloadbsdgames-darwin-08eca96e71d96ad1f8e9b888875ab5570f208d19.tar.gz
bsdgames-darwin-08eca96e71d96ad1f8e9b888875ab5570f208d19.tar.zst
bsdgames-darwin-08eca96e71d96ad1f8e9b888875ab5570f208d19.zip
Get all the games compiling for iOS
Diffstat (limited to 'ching/ching/Makefile')
-rw-r--r--ching/ching/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/ching/ching/Makefile b/ching/ching/Makefile
index 85559c1e..cd5d7eff 100644
--- a/ching/ching/Makefile
+++ b/ching/ching/Makefile
@@ -3,11 +3,15 @@
SCRIPTS=ching.sh
MAN= ching.6
-.include <bsd.own.mk>
-
-.if ${MKSHARE} != "no"
FILES= hexagrams macros
FILESDIR=/usr/share/games/ching
-.endif
-.include <bsd.prog.mk>
+all:
+
+install: $(PROG) $(MAN) $(SCRIPTS)
+ $(GINSTALL) -Dm755 $(SCRIPTS) $(DESTDIR)/usr/games/$(basename $(SCRIPTS))
+ $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN)
+ $(GINSTALL) -d $(DESTDIR)$(FILESDIR)
+ $(GINSTALL) -Dm644 $(FILES) $(DESTDIR)$(FILESDIR)
+
+.PHONY: all install clean