added page flipping/scrolling VBE calls
[dosrtxon] / libs / imago / Makefile
1 libpng = png.obj pngerror.obj pngget.obj pngmem.obj pngpread.obj pngread.obj &
2 pngrio.obj pngrtran.obj pngrutil.obj pngset.obj pngtrans.obj pngwio.obj &
3 pngwrite.obj pngwtran.obj pngwutil.obj
4 zlib = adler32.obj compress.obj crc32.obj deflate.obj gzio.obj infback.obj &
5 inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
6 jpeglib = jcapimin.obj jcapistd.obj jccoefct.obj jccolor.obj jcdctmgr.obj &
7 jchuff.obj jcinit.obj jcmainct.obj jcmarker.obj jcmaster.obj jcomapi.obj &
8 jcparam.obj jcphuff.obj jcprepct.obj jcsample.obj jctrans.obj jdapimin.obj &
9 jdapistd.obj jdatadst.obj jdatasrc.obj jdcoefct.obj jdcolor.obj jddctmgr.obj &
10 jdhuff.obj jdinput.obj jdmainct.obj jdmarker.obj jdmaster.obj jdmerge.obj &
11 jdphuff.obj jdpostct.obj jdsample.obj jdtrans.obj jerror.obj jfdctflt.obj &
12 jfdctfst.obj jfdctint.obj jidctflt.obj jidctfst.obj jidctint.obj jidctred.obj &
13 jmemmgr.obj jmemnobs.obj jquant1.obj jquant2.obj jutils.obj
14
15 obj = conv.obj filejpeg.obj filepng.obj fileppm.obj filergbe.obj &
16 filetga.obj ftmodule.obj imago2.obj imago_gl.obj modules.obj &
17 $(libpng) $(zlib) $(jpeglib)
18
19 alib = imago.lib
20
21 opt = -5 -fp5 -otexan
22 dbg = -d1
23 def = -DPNG_NO_SNPRINTF
24
25 !ifdef __UNIX__
26 RM = rm -f
27 !else
28 RM = del
29 !endif
30
31 CC = wcc386
32 CFLAGS = $(dbg) $(opt) $(def) -zq -bt=dos -Ilibpng -Izlib -Ijpeglib
33
34 $(alib): cflags.occ $(obj)
35         %write objects.lbc $(obj)
36         wlib -b -n $@ @objects
37
38 .c: src;libpng;jpeglib;zlib
39
40 cflags.occ: Makefile
41         %write $@ $(CFLAGS)
42
43 .c.obj: .autodepend
44         $(CC) -fo=$@ @cflags.occ $[*
45
46 clean: .symbolic
47         $(RM) *.obj
48         $(RM) *.occ
49         $(RM) *.lbc
50         $(RM) $(alib)