diff options
Diffstat (limited to 'pom/Makefile')
-rw-r--r-- | pom/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/pom/Makefile b/pom/Makefile index 755f2ea1..686f4655 100644 --- a/pom/Makefile +++ b/pom/Makefile @@ -3,7 +3,19 @@ PROG= pom MAN= pom.6 -DPADD= ${LIBM} -LDADD= -lm +SRCS= pom.c -.include <bsd.prog.mk> +all: $(PROG) + +$(PROG): $(SRCS) + $(CC) $(CFLAGS) -o $(PROG) $(SRCS) + $(STRIP) $(PROG) + +install: $(PROG) $(MAN) + $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/games/$(PROG) + $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN) + +clean: + rm -f $(CLEANFILES) $(PROG) + +.PHONY: all clean install |