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 --- bcd/Makefile | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'bcd') diff --git a/bcd/Makefile b/bcd/Makefile index beaace06..8fe6400c 100644 --- a/bcd/Makefile +++ b/bcd/Makefile @@ -4,6 +4,21 @@ PROG= bcd MAN= bcd.6 MLINKS= bcd.6 morse.6 bcd.6 ppt.6 -HIDEGAME=hidegame +SRCS= bcd.c -.include +all: $(PROG) + +$(PROG): $(SRCS) + $(CC) $(CFLAGS) -o $(PROG) $(SRCS) + $(STRIP) $(PROG) + +install: $(PROG) $(MAN) + $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/games/$(PROG) + $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN) + $(LN) -sf $(MAN).zst $(DESTDIR)/usr/share/man/man6/morse.6 + $(LN) -sf $(MAN).zst $(DESTDIR)/usr/share/man/man6/ppt.6 + +clean: + rm -f $(CLEANFILES) $(PROG) + +.PHONY: all clean install -- cgit v1.2.3-56-ge451