From 66791fa7d3aaa85c780c55dcc4a3af5ee351947f Mon Sep 17 00:00:00 2001 From: nate Date: Tue, 6 Jul 1993 19:46:03 +0000 Subject: Really cleaned up obj/noobj this time (same as I did with CVS) --- gnu/usr.bin/rcs/rlog/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin/rcs/rlog') 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 -- cgit v1.1