]> git.saurik.com Git - wxWidgets.git/blame - src/zlib/Makefile.riscos
fix for the previous commit
[wxWidgets.git] / src / zlib / Makefile.riscos
CommitLineData
c801d85f
KB
1# Project: zlib_1_03
2
3
4# Toolflags:
5CCflags = -c -depend !Depend -IC: -g -throwback -DRISCOS -fnah
6C++flags = -c -depend !Depend -IC: -throwback
7Linkflags = -aif -c++ -o $@
8ObjAsmflags = -throwback -NoCache -depend !Depend
9CMHGflags =
10LibFileflags = -c -l -o $@
11Squeezeflags = -o $@
12
13
14# Final targets:
15@.zlib_lib: @.o.adler32 @.o.compress @.o.crc32 @.o.deflate @.o.gzio \
16 @.o.infblock @.o.infcodes @.o.inffast @.o.inflate @.o.inftrees @.o.infutil @.o.trees \
17 @.o.uncompress @.o.zutil
18 LibFile $(LibFileflags) @.o.adler32 @.o.compress @.o.crc32 @.o.deflate \
19 @.o.gzio @.o.infblock @.o.infcodes @.o.inffast @.o.inflate @.o.inftrees @.o.infutil \
20 @.o.trees @.o.uncompress @.o.zutil
21@.test: @.tests.minigzip @.tests.example
22 echo Please run "Test" in directory tests
23@.tests.minigzip: @.o.minigzip @.zlib_lib C:o.Stubs
24 Link $(Linkflags) @.o.minigzip @.zlib_lib C:o.Stubs
25@.tests.example: @.o.example @.zlib_lib C:o.Stubs
26 Link $(Linkflags) @.o.example @.zlib_lib C:o.Stubs
27
28
29# User-editable dependencies:
30.c.o:
31 cc $(ccflags) -o $@ $<
32
33# Static dependencies:
34@.o.example: @.tests.c.example
35 cc $(ccflags) -o @.o.example @.tests.c.example
36@.o.minigzip: @.tests.c.minigzip
37 cc $(ccflags) -o @.o.minigzip @.tests.c.minigzip
38
39
40# Dynamic dependencies:
41o.minigzip: tests.c.minigzip
42o.minigzip: h.zlib
43o.minigzip: h.zconf
44o.example: tests.c.example
45o.example: h.zlib
46o.example: h.zconf