]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - canfield/cfscores/Makefile
Fix merge conflicts
[bsdgames-darwin.git] / canfield / cfscores / Makefile
index f5205981dd73564d55f7e26d69472eb885f6d28a..4e32a5d27811bfa03e7a57f77edda26c00def8cb 100644 (file)
@@ -1,10 +1,19 @@
-#      $NetBSD: Makefile,v 1.5 1999/02/13 02:54:21 lukem Exp $
+#      $NetBSD: Makefile,v 1.7 2002/09/18 06:16:40 lukem Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
-PROG=  cfscores
-CPPFLAGS+=-I${.CURDIR}/../canfield
-MKMAN= no
-HIDEGAME=hidegame
+PROG=          cfscores
+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