| 1 | # |
| 2 | # File: makefile.unx |
| 3 | # Author: Julian Smart |
| 4 | # Created: 1999 |
| 5 | # Updated: |
| 6 | # Copyright: (c) 1999 |
| 7 | # |
| 8 | # |
| 9 | # Makefile for OGL library, Unix |
| 10 | |
| 11 | include ../make.env |
| 12 | |
| 13 | JPEGLIB=$(WXDIR)/lib/libjpeg$(GUISUFFIX).a |
| 14 | |
| 15 | all: $(JPEGLIB) |
| 16 | |
| 17 | # Define library objects |
| 18 | OBJECTS=\ |
| 19 | jcomapi.o jutils.o jerror.o jmemmgr.o jmemnobs.o \ |
| 20 | jcapimin.o jcapistd.o jctrans.o jcparam.o jdatadst.o \ |
| 21 | jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o \ |
| 22 | jccoefct.o jccolor.o jcsample.o jchuff.o jcphuff.o \ |
| 23 | jcdctmgr.o jfdctfst.o jfdctflt.o jfdctint.o \ |
| 24 | jdapimin.o jdapistd.o jdtrans.o jdatasrc.o \ |
| 25 | jdmaster.o jdinput.o jdmarker.o jdhuff.o jdphuff.o \ |
| 26 | jdmainct.o jdcoefct.o jdpostct.o jddctmgr.o jidctfst.o \ |
| 27 | jidctflt.o jidctint.o jidctred.o jdsample.o jdcolor.o \ |
| 28 | jquant1.o jquant2.o jdmerge.o |
| 29 | |
| 30 | $(JPEGLIB) : $(OBJECTS) |
| 31 | ar $(AROPTIONS) $@ $(OBJECTS) |
| 32 | $(RANLIB) $@ |
| 33 | |
| 34 | clean: |
| 35 | rm -f $(OBJECTS) $(JPEGLIB) |
| 36 | |