111 lines
2.8 KiB
Plaintext
Executable File
111 lines
2.8 KiB
Plaintext
Executable File
|
|
|
|
CFLAGS=-I$(LibsPath)/jpeg-9 -I$(LibsPath)/jpeg-9/vc10 -W -Wall -O -funroll-loops -c $(PLATFORM_SPECIAL_FLAGS)
|
|
|
|
SOURCES=$(LibsPath)/jpeg-9/jaricom.c \
|
|
$(LibsPath)/jpeg-9/jcapimin.c \
|
|
$(LibsPath)/jpeg-9/jcapistd.c \
|
|
$(LibsPath)/jpeg-9/jcarith.c \
|
|
$(LibsPath)/jpeg-9/jccoefct.c \
|
|
$(LibsPath)/jpeg-9/jccolor.c \
|
|
$(LibsPath)/jpeg-9/jcdctmgr.c \
|
|
$(LibsPath)/jpeg-9/jchuff.c \
|
|
$(LibsPath)/jpeg-9/jcinit.c \
|
|
$(LibsPath)/jpeg-9/jcmainct.c \
|
|
$(LibsPath)/jpeg-9/jcmarker.c \
|
|
$(LibsPath)/jpeg-9/jcmaster.c \
|
|
$(LibsPath)/jpeg-9/jcomapi.c \
|
|
$(LibsPath)/jpeg-9/jcparam.c \
|
|
$(LibsPath)/jpeg-9/jcprepct.c \
|
|
$(LibsPath)/jpeg-9/jcsample.c \
|
|
$(LibsPath)/jpeg-9/jctrans.c \
|
|
$(LibsPath)/jpeg-9/jdapimin.c \
|
|
$(LibsPath)/jpeg-9/jdapistd.c \
|
|
$(LibsPath)/jpeg-9/jdarith.c \
|
|
$(LibsPath)/jpeg-9/jdatadst.c \
|
|
$(LibsPath)/jpeg-9/jdatasrc.c \
|
|
$(LibsPath)/jpeg-9/jdcoefct.c \
|
|
$(LibsPath)/jpeg-9/jdcolor.c \
|
|
$(LibsPath)/jpeg-9/jddctmgr.c \
|
|
$(LibsPath)/jpeg-9/jdhuff.c \
|
|
$(LibsPath)/jpeg-9/jdinput.c \
|
|
$(LibsPath)/jpeg-9/jdmainct.c \
|
|
$(LibsPath)/jpeg-9/jdmarker.c \
|
|
$(LibsPath)/jpeg-9/jdmaster.c \
|
|
$(LibsPath)/jpeg-9/jdmerge.c \
|
|
$(LibsPath)/jpeg-9/jdpostct.c \
|
|
$(LibsPath)/jpeg-9/jdsample.c \
|
|
$(LibsPath)/jpeg-9/jdtrans.c \
|
|
$(LibsPath)/jpeg-9/jerror.c \
|
|
$(LibsPath)/jpeg-9/jfdctflt.c \
|
|
$(LibsPath)/jpeg-9/jfdctfst.c \
|
|
$(LibsPath)/jpeg-9/jfdctint.c \
|
|
$(LibsPath)/jpeg-9/jidctflt.c \
|
|
$(LibsPath)/jpeg-9/jidctfst.c \
|
|
$(LibsPath)/jpeg-9/jidctint.c \
|
|
$(LibsPath)/jpeg-9/jmemmgr.c \
|
|
$(LibsPath)/jpeg-9/jmemnobs.c \
|
|
$(LibsPath)/jpeg-9/jquant1.c \
|
|
$(LibsPath)/jpeg-9/jquant2.c \
|
|
$(LibsPath)/jpeg-9/jutils.c
|
|
|
|
|
|
#not path - just name for directory
|
|
OBJSDIR=objs
|
|
|
|
|
|
OBJS = $(OBJSDIR)/jaricom.o \
|
|
$(OBJSDIR)/jcapimin.o \
|
|
$(OBJSDIR)/jcapistd.o \
|
|
$(OBJSDIR)/jcarith.o \
|
|
$(OBJSDIR)/jccoefct.o \
|
|
$(OBJSDIR)/jccolor.o \
|
|
$(OBJSDIR)/jcdctmgr.o \
|
|
$(OBJSDIR)/jchuff.o \
|
|
$(OBJSDIR)/jcinit.o \
|
|
$(OBJSDIR)/jcmainct.o \
|
|
$(OBJSDIR)/jcmarker.o \
|
|
$(OBJSDIR)/jcmaster.o \
|
|
$(OBJSDIR)/jcomapi.o \
|
|
$(OBJSDIR)/jcparam.o \
|
|
$(OBJSDIR)/jcprepct.o \
|
|
$(OBJSDIR)/jcsample.o \
|
|
$(OBJSDIR)/jctrans.o \
|
|
$(OBJSDIR)/jdapimin.o \
|
|
$(OBJSDIR)/jdapistd.o \
|
|
$(OBJSDIR)/jdarith.o \
|
|
$(OBJSDIR)/jdatadst.o \
|
|
$(OBJSDIR)/jdatasrc.o \
|
|
$(OBJSDIR)/jdcoefct.o \
|
|
$(OBJSDIR)/jdcolor.o \
|
|
$(OBJSDIR)/jddctmgr.o \
|
|
$(OBJSDIR)/jdhuff.o \
|
|
$(OBJSDIR)/jdinput.o \
|
|
$(OBJSDIR)/jdmainct.o \
|
|
$(OBJSDIR)/jdmarker.o \
|
|
$(OBJSDIR)/jdmaster.o \
|
|
$(OBJSDIR)/jdmerge.o \
|
|
$(OBJSDIR)/jdpostct.o \
|
|
$(OBJSDIR)/jdsample.o \
|
|
$(OBJSDIR)/jdtrans.o \
|
|
$(OBJSDIR)/jerror.o \
|
|
$(OBJSDIR)/jfdctflt.o \
|
|
$(OBJSDIR)/jfdctfst.o \
|
|
$(OBJSDIR)/jfdctint.o \
|
|
$(OBJSDIR)/jidctflt.o \
|
|
$(OBJSDIR)/jidctfst.o \
|
|
$(OBJSDIR)/jidctint.o \
|
|
$(OBJSDIR)/jmemmgr.o \
|
|
$(OBJSDIR)/jmemnobs.o \
|
|
$(OBJSDIR)/jquant1.o \
|
|
$(OBJSDIR)/jquant2.o \
|
|
$(OBJSDIR)/jutils.o
|
|
|
|
|
|
|
|
all:
|
|
-@if [ ! -d $(OBJSDIR) ]; then mkdir $(OBJSDIR); fi
|
|
cd $(OBJSDIR); \
|
|
$(CC) $(CFLAGS) $(SOURCES); \
|
|
cd ..
|
|
ar rcs libjpeg.a $(OBJS) |