diff options
Diffstat (limited to 'morse/Makefile')
-rw-r--r-- | morse/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/morse/Makefile b/morse/Makefile index 390a2249..70eba999 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)/usr/games/$(PROG) -.include <bsd.prog.mk> +clean: + rm -f $(CLEANFILES) $(PROG) +.PHONY: all clean install |