]> sbz's 6dev Repos - elfdbg/.git/blobdiff - Makefile
Update makefile
[elfdbg/.git] / Makefile
index 76f168336818d2ac97a2d5eee242bbe613b95eac..6a93b2875dcee99a35fa93596698721a5dd7b391 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,12 @@
-DESTDIR=/usr/local/
-BINDIR=bin
+.include <bsd.own.mk>
+
+PREFIX?=       /usr/local
+BINDIR=        ${PREFIX}/bin
 
 PROG=  elfdbg
 
 PROG=  elfdbg
+MAN=   elfdbg.1
 SRCS=  elfdbg.c
 
 SRCS=  elfdbg.c
 
-CFLAGS+=-lelf
+LDADD= -lelf
 
 .include <bsd.prog.mk>
 
 .include <bsd.prog.mk>