diff options
author | Cem Keylan <cem@ckyln.com> | 2021-07-14 14:40:24 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-07-14 14:40:24 +0300 |
commit | 01e3a0e242b526ae2791de8a0947920e3c9a9ec4 (patch) | |
tree | ee0603f44dc76902b0a791e67c186c36493799c7 /Makefile | |
parent | 7a3e0182b8224969bb4130accce31a7bedcc6895 (diff) | |
download | otools-01e3a0e242b526ae2791de8a0947920e3c9a9ec4.tar.gz |
fix makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -200,7 +200,11 @@ MANDOCOBJ = \ usr.bin/mandoc/term_tag.o \ usr.bin/mandoc/tree.o BINOBJ += ${MANDOCOBJ} -mandoc: ${MANDOCOBJ} ${LIB} +MANDOCLIBS = ${LIB} +ifeq (${ZLIB}, lib/libz/libz.a) + MANDOCLIBS += ${ZLIB} +endif +mandoc: ${MANDOCOBJ} ${MANDOCLIBS} ${CC} ${LDFLAGS} -o $@ ${MANDOCOBJ} ${LIB} ${ZLIB} ${LIBFTS} # ------------------------------------------------------------------------------ @@ -314,7 +318,10 @@ LIBZOBJ = \ lib/libz/compress.o \ lib/libz/crc32.o \ lib/libz/deflate.o \ - lib/libz/gzio.o \ + lib/libz/gzclose.o \ + lib/libz/gzlib.o \ + lib/libz/gzread.o \ + lib/libz/gzwrite.o \ lib/libz/infback.o \ lib/libz/inffast.o \ lib/libz/inflate.o \ |