summaryrefslogtreecommitdiffstats
path: root/canfield/cfscores/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'canfield/cfscores/Makefile')
-rw-r--r--canfield/cfscores/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/canfield/cfscores/Makefile b/canfield/cfscores/Makefile
index 55448e53..f8c9518e 100644
--- a/canfield/cfscores/Makefile
+++ b/canfield/cfscores/Makefile
@@ -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