1996-01-26 02:38:47 -05:00
|
|
|
# Makefile for libpng
|
|
|
|
# TurboC++ 3.0 (Note: All modules are compiled in C mode)
|
|
|
|
|
|
|
|
# To use, do "make -fmakefile.tc"
|
|
|
|
|
|
|
|
# ------------- Turbo C++ 3.0 -------------
|
|
|
|
MODEL=-ml
|
|
|
|
CFLAGS=-O2 -Z $(MODEL) -I..\zlib
|
|
|
|
CC=tcc
|
|
|
|
LD=tcc
|
|
|
|
LIB=tlib
|
|
|
|
LDFLAGS=$(MODEL)
|
|
|
|
O=.obj
|
|
|
|
|
|
|
|
# variables
|
1997-05-16 03:46:07 -04:00
|
|
|
OBJS1 = png$(O) pngset$(O) pngget$(O) pngrutil$(O) pngtrans$(O) pngwutil$(O)
|
|
|
|
OBJS2 = pngmem$(O) pngpread$(O) pngread$(O) pngerror$(O) pngwrite$(O)
|
|
|
|
OBJS3 = pngrtran$(O) pngwtran$(O) pngrio$(O) pngwio$(O)
|
|
|
|
OBJSL1 = +png$(O) +pngset$(O) +pngget$(O) +pngrutil$(O) +pngtrans$(O)
|
|
|
|
OBJSL2 = +pngwutil$(O) +pngmem$(O) +pngpread$(O) +pngread$(O) +pngerror$(O)
|
|
|
|
OBJSL3 = +pngwrite$(O) +pngrtran$(O) +pngwtran$(O) +pngrio$(O) +pngwio$(O)
|
1996-01-26 02:38:47 -05:00
|
|
|
|
|
|
|
all: libpng.lib
|
|
|
|
|
|
|
|
png$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
1997-05-16 03:46:07 -04:00
|
|
|
pngset$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngget$(O): png.h pngconf.h
|
1996-01-26 02:38:47 -05:00
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngread$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngpread$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngrtran$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngrutil$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngerror$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngmem$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
1996-06-05 16:50:50 -04:00
|
|
|
pngrio$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngwio$(O): png.h pngconf.h
|
1996-01-26 02:38:47 -05:00
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngtest$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngtrans$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngwrite$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngwtran$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
|
|
|
pngwutil$(O): png.h pngconf.h
|
|
|
|
$(CC) -c $(CFLAGS) $*.c
|
|
|
|
|
1997-05-16 03:46:07 -04:00
|
|
|
libpng.lib: $(OBJS1) $(OBJS2) $(OBJS3)
|
1996-01-26 02:38:47 -05:00
|
|
|
$(LIB) libpng +$(OBJSL1)
|
|
|
|
$(LIB) libpng +$(OBJSL2)
|
1997-05-16 03:46:07 -04:00
|
|
|
$(LIB) libpng +$(OBJSL3)
|
1996-01-26 02:38:47 -05:00
|
|
|
|
|
|
|
# End of makefile for libpng
|