VirtualBox

source: vbox/trunk/src/libs/zlib-1.2.8/watcom/watcom_f.mak@ 71370

最後變更 在這個檔案從71370是 58208,由 vboxsync 提交於 9 年 前

zlib 1.2.8 unmodified

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.4 KB
 
1# Makefile for zlib
2# OpenWatcom flat model
3# Last updated: 28-Dec-2005
4
5# To use, do "wmake -f watcom_f.mak"
6
7C_SOURCE = adler32.c compress.c crc32.c deflate.c &
8 gzclose.c gzlib.c gzread.c gzwrite.c &
9 infback.c inffast.c inflate.c inftrees.c &
10 trees.c uncompr.c zutil.c
11
12OBJS = adler32.obj compress.obj crc32.obj deflate.obj &
13 gzclose.obj gzlib.obj gzread.obj gzwrite.obj &
14 infback.obj inffast.obj inflate.obj inftrees.obj &
15 trees.obj uncompr.obj zutil.obj
16
17CC = wcc386
18LINKER = wcl386
19CFLAGS = -zq -mf -3r -fp3 -s -bt=dos -oilrtfm -fr=nul -wx
20ZLIB_LIB = zlib_f.lib
21
22.C.OBJ:
23 $(CC) $(CFLAGS) $[@
24
25all: $(ZLIB_LIB) example.exe minigzip.exe
26
27$(ZLIB_LIB): $(OBJS)
28 wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj
29 wlib -b -c $(ZLIB_LIB) -+gzclose.obj -+gzlib.obj -+gzread.obj -+gzwrite.obj
30 wlib -b -c $(ZLIB_LIB) -+deflate.obj -+infback.obj
31 wlib -b -c $(ZLIB_LIB) -+inffast.obj -+inflate.obj -+inftrees.obj
32 wlib -b -c $(ZLIB_LIB) -+trees.obj -+uncompr.obj -+zutil.obj
33
34example.exe: $(ZLIB_LIB) example.obj
35 $(LINKER) -ldos32a -fe=example.exe example.obj $(ZLIB_LIB)
36
37minigzip.exe: $(ZLIB_LIB) minigzip.obj
38 $(LINKER) -ldos32a -fe=minigzip.exe minigzip.obj $(ZLIB_LIB)
39
40clean: .SYMBOLIC
41 del *.obj
42 del $(ZLIB_LIB)
43 @echo Cleaning done
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette