summaryrefslogtreecommitdiffstats
path: root/snake/snscore/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'snake/snscore/Makefile')
-rw-r--r--snake/snscore/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/snake/snscore/Makefile b/snake/snscore/Makefile
index 7041fb46..945b34d5 100644
--- a/snake/snscore/Makefile
+++ b/snake/snscore/Makefile
@@ -1,11 +1,19 @@
# $NetBSD: Makefile,v 1.7 2002/09/18 06:16:41 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
-NOMAN= # defined
-
PROG= snscore
-CPPFLAGS+= -I${.CURDIR}/../snake
-HIDEGAME= hidegame
+SRCS= snscore.c
+
+all: $(PROG)
+
+$(PROG): $(SRCS)
+ $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I../snake
+ $(STRIP) $(PROG)
+
+install: $(PROG) $(MAN)
+ $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/usr/games/$(PROG)
+
+clean:
+ rm -f $(CLEANFILES) $(PROG)
-.include "../../Makefile.inc"
-.include <bsd.prog.mk>
+.PHONY: all clean install