5 CCflags = -c -depend !Depend -IC: -g -throwback -DRISCOS -fnah
6 C++flags = -c -depend !Depend -IC: -throwback
7 Linkflags = -aif -c++ -o $@
8 ObjAsmflags = -throwback -NoCache -depend !Depend
10 LibFileflags = -c -l -o $@
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
29 # User-editable dependencies:
31 cc $(ccflags) -o $@ $<
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
40 # Dynamic dependencies:
41 o.minigzip: tests.c.minigzip
44 o.example: tests.c.example