X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/94b5353c71e7246077d468afe68d51ce85fc213d..23454acb66be2a88647262d98d50e0f115519ea0:/morse/Makefile diff --git a/morse/Makefile b/morse/Makefile index 0f28e4f8..7cc3b053 100644 --- a/morse/Makefile +++ b/morse/Makefile @@ -1,9 +1,19 @@ -# $NetBSD: Makefile,v 1.3 1995/03/23 08:35:22 cgd Exp $ +# $NetBSD: Makefile,v 1.6 2002/09/18 06:16:40 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 -PROG= morse -NOMAN= noman -HIDEGAME=hidegame +PROG= morse +SRCS= morse.c -.include +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