X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/9fa95ded89b6580b5436b1eaa034d7a5abd64c9b..23454acb66be2a88647262d98d50e0f115519ea0:/morse/Makefile diff --git a/morse/Makefile b/morse/Makefile index 390a2249..7cc3b053 100644 --- a/morse/Makefile +++ b/morse/Makefile @@ -1,10 +1,19 @@ # $NetBSD: Makefile,v 1.6 2002/09/18 06:16:40 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 -NOMAN= # defined - PROG= morse -HIDEGAME= hidegame +SRCS= morse.c + +all: $(PROG) + +$(PROG): $(SRCS) + $(CC) $(CFLAGS) -o $(PROG) $(SRCS) + $(STRIP) $(PROG) + +install: $(PROG) $(MAN) + $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG) -.include +clean: + rm -f $(CLEANFILES) $(PROG) +.PHONY: all clean install