]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - morse/Makefile
cgram: allow navigation with KEY_PPAGE and KEY_NPAGE
[bsdgames-darwin.git] / morse / Makefile
index 8a4e320cdd95fe5eb196d4bc73a612f1955af326..7cc3b0535fa8e86bae689c31c333f98963abb045 100644 (file)
@@ -1,9 +1,19 @@
-#      $NetBSD: Makefile,v 1.5 2001/12/12 00:07:48 tv Exp $
+#      $NetBSD: Makefile,v 1.6 2002/09/18 06:16:40 lukem Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 PROG=          morse
-NOMAN=         # defined
-HIDEGAME=      hidegame
+SRCS=          morse.c
 
-.include <bsd.prog.mk>
+all: $(PROG)
 
+$(PROG): $(SRCS)
+       $(CC) $(CFLAGS) -o $(PROG) $(SRCS)
+       $(STRIP) $(PROG)
+
+install: $(PROG) $(MAN)
+       $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
+
+clean:
+       rm -f $(CLEANFILES) $(PROG)
+
+.PHONY: all clean install