From 08eca96e71d96ad1f8e9b888875ab5570f208d19 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Wed, 17 Feb 2021 14:05:02 -0500 Subject: Get all the games compiling for iOS --- ching/ching/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'ching/ching/Makefile') 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 - -.if ${MKSHARE} != "no" FILES= hexagrams macros FILESDIR=/usr/share/games/ching -.endif -.include +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 -- cgit v1.2.3-56-ge451