📄 makefile.nt
字号:
# Simple makefile for Windows NT# Written by Ron Cox <roncox@indirect.com># 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 <ntwin32.mak>## 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.objDEFS =# 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.hzip.obj: zip.c gzip.h tailor.h crypt.hdeflate.obj: deflate.c gzip.h tailor.htrees.obj: trees.c gzip.h tailor.hbits.obj: bits.c gzip.h tailor.h crypt.hunzip.obj: unzip.c gzip.h tailor.h crypt.hinflate.obj: inflate.c gzip.h tailor.h crypt.hutil.obj: util.c gzip.h tailor.hlzw.obj: lzw.c gzip.h tailor.hunlzw.obj: unlzw.c gzip.h tailor.h revision.h lzw.hunpack.obj: unpack.c gzip.h tailor.hcrypt.obj: crypt.c gzip.h tailor.hunlzh.obj: unlzh.c gzip.h tailor.h lzw.hclean: -rm $(OBJS)clobber: clean -rm gzip.exe
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -