5e91e5b1ae4169f2bad3a6f0cb28b8a5ae141215
[retroray] / libs / imago / GNUmakefile
1 mobj = src/byteord.o src/filelbm.o src/filergbe.o src/imago2.o src/conv.o \
2            src/filepng.o src/filetga.o src/imago_gl.o src/filejpeg.o src/fileppm.o \
3            src/ftmodule.o src/modules.o
4 zobj = zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/gzio.o \
5            zlib/infback.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/trees.o \
6            zlib/uncompr.o zlib/zutil.o
7 pobj = libpng/pngerror.o libpng/pngget.o libpng/pngmem.o libpng/pngpread.o \
8            libpng/pngread.o libpng/pngrio.o libpng/pngrtran.o libpng/pngrutil.o \
9            libpng/pngset.o libpng/pngtrans.o libpng/pngwio.o libpng/pngwrite.o \
10            libpng/pngwtran.o libpng/pngwutil.o libpng/png.o
11 jobj = jpeglib/jcapimin.o jpeglib/jcapistd.o jpeglib/jccoefct.o jpeglib/jccolor.o \
12            jpeglib/jcdctmgr.o jpeglib/jchuff.o jpeglib/jcinit.o jpeglib/jcmainct.o \
13            jpeglib/jcmarker.o jpeglib/jcmaster.o jpeglib/jcomapi.o jpeglib/jcparam.o \
14            jpeglib/jcphuff.o jpeglib/jcprepct.o jpeglib/jcsample.o jpeglib/jctrans.o \
15            jpeglib/jdapimin.o jpeglib/jdapistd.o jpeglib/jdatadst.o jpeglib/jdatasrc.o \
16            jpeglib/jdcoefct.o jpeglib/jdcolor.o jpeglib/jddctmgr.o jpeglib/jdhuff.o \
17            jpeglib/jdinput.o jpeglib/jdmainct.o jpeglib/jdmarker.o jpeglib/jdmaster.o \
18            jpeglib/jdmerge.o jpeglib/jdphuff.o jpeglib/jdpostct.o jpeglib/jdsample.o \
19            jpeglib/jdtrans.o jpeglib/jerror.o jpeglib/jfdctflt.o jpeglib/jfdctfst.o \
20            jpeglib/jfdctint.o jpeglib/jidctflt.o jpeglib/jidctfst.o jpeglib/jidctint.o \
21            jpeglib/jidctred.o jpeglib/jmemmgr.o jpeglib/jmemnobs.o jpeglib/jquant1.o \
22            jpeglib/jquant2.o jpeglib/jutils.o
23 obj = $(mobj) $(zobj) $(pobj) $(jobj)
24 alib = ../unix/imago.a
25
26 CFLAGS = -O3 -Izlib -Ilibpng -Ijpeglib $(pic)
27
28 $(alib): $(obj)
29         $(AR) rcs $@ $(obj)
30
31 .c.o:
32         $(CC) $(CFLAGS) -c $< -o $@
33
34 .PHONY: clean
35 clean:
36         rm -f $(obj) $(alib)