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 --- snake/snscore/Makefile | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'snake/snscore/Makefile') diff --git a/snake/snscore/Makefile b/snake/snscore/Makefile index 7041fb46..945b34d5 100644 --- a/snake/snscore/Makefile +++ b/snake/snscore/Makefile @@ -1,11 +1,19 @@ # $NetBSD: Makefile,v 1.7 2002/09/18 06:16:41 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 -NOMAN= # defined - PROG= snscore -CPPFLAGS+= -I${.CURDIR}/../snake -HIDEGAME= hidegame +SRCS= snscore.c + +all: $(PROG) + +$(PROG): $(SRCS) + $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I../snake + $(STRIP) $(PROG) + +install: $(PROG) $(MAN) + $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/usr/games/$(PROG) + +clean: + rm -f $(CLEANFILES) $(PROG) -.include "../../Makefile.inc" -.include +.PHONY: all clean install -- cgit v1.2.3-56-ge451