summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/rcs/rlog
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1993-07-06 19:46:03 +0000
committernate <nate@FreeBSD.org>1993-07-06 19:46:03 +0000
commit66791fa7d3aaa85c780c55dcc4a3af5ee351947f (patch)
treea086918a394b3e6f4fdab3571c8976874bf4a6e9 /gnu/usr.bin/rcs/rlog
parenta4e133d12647f4e2a3beebf396dd82970793787f (diff)
downloadFreeBSD-src-66791fa7d3aaa85c780c55dcc4a3af5ee351947f.zip
FreeBSD-src-66791fa7d3aaa85c780c55dcc4a3af5ee351947f.tar.gz
Really cleaned up obj/noobj this time (same as I did with CVS)
Diffstat (limited to 'gnu/usr.bin/rcs/rlog')
-rw-r--r--gnu/usr.bin/rcs/rlog/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/usr.bin/rcs/rlog/Makefile b/gnu/usr.bin/rcs/rlog/Makefile
index 3d1fc2c..96fe01e 100644
--- a/gnu/usr.bin/rcs/rlog/Makefile
+++ b/gnu/usr.bin/rcs/rlog/Makefile
@@ -1,7 +1,12 @@
PROG= rlog
-
SRCS= rlog.c
-LDADD= -L${.CURDIR}/../lib/${.CURDIR} -lrcs
+
+.if exists(${.CURDIR}/../lib/obj)
+LDADD= -L${.CURDIR}/../lib/obj -lrcs
+.else
+LDADD= -L${.CURDIR}/../lib/ -lrcs
+.endif
+
CFLAGS+= -I${.CURDIR}/../lib
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud