]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - canfield/cfscores/Makefile
Fix merge conflicts
[bsdgames-darwin.git] / canfield / cfscores / Makefile
index 312f1467d00371ff5eb94f19352936fd0f8d89b6..4e32a5d27811bfa03e7a57f77edda26c00def8cb 100644 (file)
@@ -1,10 +1,19 @@
-#      $NetBSD: Makefile,v 1.6 2001/12/12 00:07:48 tv Exp $
+#      $NetBSD: Makefile,v 1.7 2002/09/18 06:16:40 lukem Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 PROG=          cfscores
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 PROG=          cfscores
-CPPFLAGS+=     -I${.CURDIR}/../canfield
-NOMAN=         # defined
-HIDEGAME=      hidegame
+SRCS=          cfscores.c
 
 
-.include "../../Makefile.inc"
-.include <bsd.prog.mk>
+all: $(PROG)
+
+$(PROG): $(SRCS)
+       $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I../canfield -I$(ROOT)
+       $(STRIP) $(PROG)
+
+install: $(PROG) $(MAN)
+       $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
+
+clean:
+       rm -f $(CLEANFILES) $(PROG)
+
+.PHONY: all clean install