]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - canfield/cfscores/Makefile
Get all the games compiling for iOS
[bsdgames-darwin.git] / canfield / cfscores / Makefile
index 55448e531b9000bec93daa20215f600872dbd582..f8c9518e456c252044994178ae88add804acb93e 100644 (file)
@@ -1,11 +1,19 @@
 #      $NetBSD: Makefile,v 1.7 2002/09/18 06:16:40 lukem Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
-NOMAN=         # defined
-
 PROG=          cfscores
-CPPFLAGS+=     -I${.CURDIR}/../canfield
-HIDEGAME=      hidegame
+SRCS=          cfscores.c
+
+all: $(PROG)
+
+$(PROG): $(SRCS)
+       $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I../canfield
+       $(STRIP) $(PROG)
+
+install: $(PROG) $(MAN)
+       $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/games/$(PROG)
+
+clean:
+       rm -f $(CLEANFILES) $(PROG)
 
-.include "../../Makefile.inc"
-.include <bsd.prog.mk>
+.PHONY: all clean install