Changed Makefile to use Nate's selective obj/noobj build scheme.
This commit is contained in:
parent
6284d06fa9
commit
5b26c2cc58
@ -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