Added libs for iOS
This commit is contained in:
1 parent
e6ca2dd14a
commit
90091e7ea9
937 files changed
+163130
-210
No files matched your search
Executable
+50
@@ -0,0 +1,50 @@
|
||||
|
||||
ZLIBINC=$(LibsPath)/zlib-1.2.7
|
||||
|
||||
CFLAGS=-I$(ZLIBINC) -W -Wall -O -funroll-loops -c $(PLATFORM_SPECIAL_FLAGS)
|
||||
|
||||
SOURCES=$(LibsPath)/lpng1510/example.c \
|
||||
$(LibsPath)/lpng1510/png.c \
|
||||
$(LibsPath)/lpng1510/pngerror.c \
|
||||
$(LibsPath)/lpng1510/pngget.c \
|
||||
$(LibsPath)/lpng1510/pngmem.c \
|
||||
$(LibsPath)/lpng1510/pngpread.c \
|
||||
$(LibsPath)/lpng1510/pngread.c \
|
||||
$(LibsPath)/lpng1510/pngrio.c \
|
||||
$(LibsPath)/lpng1510/pngrtran.c \
|
||||
$(LibsPath)/lpng1510/pngrutil.c \
|
||||
$(LibsPath)/lpng1510/pngset.c \
|
||||
$(LibsPath)/lpng1510/pngtest.c \
|
||||
$(LibsPath)/lpng1510/pngtrans.c \
|
||||
$(LibsPath)/lpng1510/pngwio.c \
|
||||
$(LibsPath)/lpng1510/pngwrite.c \
|
||||
$(LibsPath)/lpng1510/pngwtran.c \
|
||||
$(LibsPath)/lpng1510/pngwutil.c
|
||||
|
||||
#not path - just name for directory
|
||||
OBJSDIR=objs
|
||||
|
||||
|
||||
OBJS = $(OBJSDIR)/png.o \
|
||||
$(OBJSDIR)/pngset.o \
|
||||
$(OBJSDIR)/pngget.o \
|
||||
$(OBJSDIR)/pngrutil.o \
|
||||
$(OBJSDIR)/pngtrans.o \
|
||||
$(OBJSDIR)/pngwutil.o \
|
||||
$(OBJSDIR)/pngread.o \
|
||||
$(OBJSDIR)/pngrio.o \
|
||||
$(OBJSDIR)/pngwio.o \
|
||||
$(OBJSDIR)/pngwrite.o \
|
||||
$(OBJSDIR)/pngrtran.o \
|
||||
$(OBJSDIR)/pngwtran.o \
|
||||
$(OBJSDIR)/pngmem.o \
|
||||
$(OBJSDIR)/pngerror.o \
|
||||
$(OBJSDIR)/pngpread.o
|
||||
|
||||
|
||||
all:
|
||||
-@if [ ! -d $(OBJSDIR) ]; then mkdir $(OBJSDIR); fi
|
||||
cd $(OBJSDIR); \
|
||||
$(CC) $(CFLAGS) $(SOURCES); \
|
||||
cd ..
|
||||
ar rcs libpng.a $(OBJS)
|
||||
Reference in new issue
Block a user