Changed Makefile to use Nate's selective obj/noobj build scheme.

This commit is contained in:
jkh 1993-07-08 21:57:48 +00:00
parent 6284d06fa9
commit 5b26c2cc58
2 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,12 @@
PROG= man
SRCS= man.c manpath.c glob.c
MAN1= man.1
LDADD+= -L${.CURDIR}/../lib -lman
.if exists(${.CURDIR}/../lib/obj)
LDADD= -L${.CURDIR}/../lib/obj -lman
.else
LDADD= -L${.CURDIR}/../lib/ -lman
.endif
CFLAGS+= -I${.CURDIR}/../lib -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS -DALT_SYSTEMS

View File

@ -1,7 +1,12 @@
PROG= manpath
MAN1= manpath.1
SRCS= manpath.c
LDADD+= -L${.CURDIR}/../lib -lman
.if exists(${.CURDIR}/../lib/obj)
LDADD= -L${.CURDIR}/../lib/obj -lman
.else
LDADD= -L${.CURDIR}/../lib/ -lman
.endif
CFLAGS+= -I${.CURDIR}/../lib -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS -DALT_SYSTEMS