X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/64659f78b3eda22f05a1683c2b356977ea22705e..HEAD:/pig/Makefile diff --git a/pig/Makefile b/pig/Makefile index 60f6b24c..a9f85f23 100644 --- a/pig/Makefile +++ b/pig/Makefile @@ -1,6 +1,21 @@ +# $NetBSD: Makefile,v 1.3 1995/03/23 08:41:34 cgd Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= pig -MAN6= pig.0 +MAN= pig.6 +SRCS= pig.c -.include +all: $(PROG) + +$(PROG): $(SRCS) + $(CC) $(CFLAGS) -o $(PROG) $(SRCS) + $(STRIP) $(PROG) + +install: $(PROG) $(MAN) + $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG) + $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN) + +clean: + rm -f $(CLEANFILES) $(PROG) + +.PHONY: all clean install