aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/uzlib/examples/tgunzip/makefile.b32
blob: 7b559c9a8e6a05364ab65312286be7099d455888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
##
## tgunzip  -  gzip decompressor example
##
## Borland C/C++ makefile (GNU Make)
##
## Copyright (c) 2003 by Joergen Ibsen / Jibz
## All Rights Reserved
##
## http://www.ibsensoftware.com/
##

target  = tgunzip.exe
objects = tgunzip.obj
libs    = ..\..\lib\tinf.lib
temps   = tgunzip.tds

cflags  = -a16 -K -O2 -OS -I..\..\src
ldflags = -C -q -Gn -x -Gz -ap -Tpe

.PHONY: all clean

all: $(target)

$(target): $(objects)
	ilink32 $(ldflags) c0x32 $(objects), $@ , , import32 cw32 $(libs) , ,

%.obj : %.c
	bcc32 $(cflags) -c $<

clean:
	$(RM) $(objects) $(target) $(temps)