From 08bfadc8d4cea373690b1f460c6d482e99a31bd3 Mon Sep 17 00:00:00 2001 From: Jean-loup Gailly Date: Fri, 16 Jul 1993 14:37:33 +0000 Subject: [PATCH] gzip 1.3.5 --- nt/Makefile.nt | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 nt/Makefile.nt diff --git a/nt/Makefile.nt b/nt/Makefile.nt new file mode 100644 index 0000000..0a7604c --- /dev/null +++ b/nt/Makefile.nt @@ -0,0 +1,66 @@ +# Simple makefile for Windows NT +# Written by Ron Cox + +# This is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License, see the file COPYING. + +# This makefile is suitable for NTFS only. To build a gzip executable suitable +# for a FAT file system, add -DNTFAT to DEFS. + +# To build debug version, define environment variable DEBUG, or include a +# -DDEBUG on the commandline (i.e.: nmake -DDEBUG) + +.silent: + +!include + +# +# Object files +# +OBJS = gzip.obj zip.obj deflate.obj trees.obj bits.obj unzip.obj inflate.obj \ + util.obj crypt.obj lzw.obj unlzw.obj unpack.obj getopt.obj unlzh.obj + +DEFS = +# for FAT support, set: DEFS = -DNTFAT + +# +# How to build .obj's from .c's +# +.c.obj: + $(cc) $(DEFS) -Ox $(cflags) $(cvarsdll) $< + +# +# Main target +# +all: gzip.exe + +# +# Link target. setargv.obj is provided in the compiler library directory. +# +gzip.exe: $(OBJS) + $(link) $(linkdebug) $(conflags) -out:gzip.exe $(OBJS) setargv.obj \ + $(conlibsdll) + +# +# Dependencies +# +gzip.obj: gzip.c gzip.h tailor.h +zip.obj: zip.c gzip.h tailor.h crypt.h +deflate.obj: deflate.c gzip.h tailor.h +trees.obj: trees.c gzip.h tailor.h +bits.obj: bits.c gzip.h tailor.h crypt.h +unzip.obj: unzip.c gzip.h tailor.h crypt.h +inflate.obj: inflate.c gzip.h tailor.h crypt.h +util.obj: util.c gzip.h tailor.h +lzw.obj: lzw.c gzip.h tailor.h +unlzw.obj: unlzw.c gzip.h tailor.h revision.h lzw.h +unpack.obj: unpack.c gzip.h tailor.h +crypt.obj: crypt.c gzip.h tailor.h +unlzh.obj: unlzh.c gzip.h tailor.h lzw.h + + +clean: + -rm $(OBJS) + +clobber: clean + -rm gzip.exe -- 2.39.5