# $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