X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/77e3814f0c0e3dea4d0032e25666f77e6f83bfff..b651ad4a8509e0f72f9c8f416dc02f3669672b35:/pom/Makefile diff --git a/pom/Makefile b/pom/Makefile index bfae4b4f..f436cc2e 100644 --- a/pom/Makefile +++ b/pom/Makefile @@ -1,8 +1,21 @@ -# @(#)Makefile 5.1 (Berkeley) 5/11/90 +# $NetBSD: Makefile,v 1.8 2009/07/26 03:05:52 dholland Exp $ +# @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= pom -MAN6= pom.0 -DPADD= ${LIBM} -LDADD= -lm +MAN= pom.6 +SRCS= pom.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