gitignore VS project user settings
[dosdemo] / 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 CC = wcc386
26 CFLAGS = $(dbg) $(opt) $(def) -zq -bt=dos -Ilibpng -Izlib -Ijpeglib
27
28 $(alib): cflags.occ $(obj)
29         %write objects.lbc $(obj)
30         wlib -b -n $@ @objects
31
32 .c: src;libpng;jpeglib;zlib
33
34 cflags.occ: Makefile
35         %write $@ $(CFLAGS)
36
37 .c.obj: .autodepend
38         $(CC) -fo=$@ @cflags.occ $[*
39
40 clean: .symbolic
41         del *.obj
42         del *.occ
43         del *.lbc
44         del $(alib)