Changed Makefile to use Nate's selective obj/noobj build scheme.
This commit is contained in:
parent
69b29fcd36
commit
217d2cb482
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user