~ubuntu-branches/ubuntu/utopic/critcl/utopic

« back to all changes in this revision

Viewing changes to examples/zlibwrap/zlib/watcom/watcom_l.mak

  • Committer: Package Import Robot
  • Author(s): Andrew Shadura
  • Date: 2013-05-11 00:08:06 UTC
  • Revision ID: package-import@ubuntu.com-20130511000806-7hq1zc3fnn0gat79
Tags: upstream-3.1.9
ImportĀ upstreamĀ versionĀ 3.1.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for zlib
 
2
# OpenWatcom large model
 
3
# Last updated: 28-Dec-2005
 
4
 
 
5
# To use, do "wmake -f watcom_l.mak"
 
6
 
 
7
C_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
 
 
12
OBJS =      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
 
 
17
CC       = wcc
 
18
LINKER   = wcl
 
19
CFLAGS   = -zq -ml -s -bt=dos -oilrtfm -fr=nul -wx
 
20
ZLIB_LIB = zlib_l.lib
 
21
 
 
22
.C.OBJ:
 
23
        $(CC) $(CFLAGS) $[@
 
24
 
 
25
all: $(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
 
 
34
example.exe: $(ZLIB_LIB) example.obj
 
35
        $(LINKER) -fe=example.exe example.obj $(ZLIB_LIB)
 
36
 
 
37
minigzip.exe: $(ZLIB_LIB) minigzip.obj
 
38
        $(LINKER) -fe=minigzip.exe minigzip.obj $(ZLIB_LIB)
 
39
 
 
40
clean: .SYMBOLIC
 
41
          del *.obj
 
42
          del $(ZLIB_LIB)
 
43
          @echo Cleaning done