]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - ppt/Makefile
Use PREFIX now
[bsdgames-darwin.git] / ppt / Makefile
index 800c6a2fd72606f291d36ebe1e258f8037f9b4ff..550028936a6b7ad3a810fe5b7bda6c111cd83434 100644 (file)
@@ -1,10 +1,19 @@
 #      $NetBSD: Makefile,v 1.6 2002/09/18 06:16:41 lukem Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
-NOMAN=         # defined
-
 PROG=          ppt
-HIDEGAME=      hidegame
+SRCS=          ppt.c
+
+all: $(PROG)
+
+$(PROG): $(SRCS)
+       $(CC) $(CFLAGS) -o $(PROG) $(SRCS)
+       $(STRIP) $(PROG)
+
+install: $(PROG)
+       $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
 
-.include <bsd.prog.mk>
+clean:
+       rm -f $(CLEANFILES) $(PROG)
 
+.PHONY: all clean install