This repository has been archived on 2023-11-11. You can view files and clone it, but cannot push or open issues or pull requests.
libpng/scripts/makefile.tc3

83 lines
1.9 KiB
Plaintext
Raw Normal View History

1996-01-26 07:38:47 +00:00
# Makefile for libpng
# TurboC++ 3.0 (Note: All modules are compiled in C mode)
1998-01-17 04:06:18 +00:00
# To use, do "make -fmakefile.tc3"
1996-01-26 07:38:47 +00:00
# ------------- Turbo C++ 3.0 -------------
MODEL=-ml
CFLAGS=-O2 -Z $(MODEL) -I..\zlib
CC=tcc
LD=tcc
LIB=tlib
1998-03-07 12:06:55 +00:00
LDFLAGS=$(MODEL) -L..\zlib
1996-01-26 07:38:47 +00:00
O=.obj
1998-03-07 12:06:55 +00:00
E=.exe
1996-01-26 07:38:47 +00:00
# variables
1998-03-09 00:52:15 +00:00
OBJS1 = png$(O) pngset$(O) pngget$(O) pngrutil$(O) pngtrans$(O) pngwutil$(O)
1997-05-16 07:46:07 +00:00
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)
1998-03-09 00:52:15 +00:00
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 07:38:47 +00:00
1998-03-07 12:06:55 +00:00
all: libpng.lib pngtest.exe
1996-01-26 07:38:47 +00:00
png$(O): png.h pngconf.h
$(CC) -c $(CFLAGS) $*.c
1997-05-16 07:46:07 +00:00
pngset$(O): png.h pngconf.h
$(CC) -c $(CFLAGS) $*.c
pngget$(O): png.h pngconf.h
1996-01-26 07:38:47 +00: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 20:50:50 +00:00
pngrio$(O): png.h pngconf.h
$(CC) -c $(CFLAGS) $*.c
pngwio$(O): png.h pngconf.h
1996-01-26 07:38:47 +00: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 07:46:07 +00:00
libpng.lib: $(OBJS1) $(OBJS2) $(OBJS3)
1996-01-26 07:38:47 +00:00
$(LIB) libpng +$(OBJSL1)
$(LIB) libpng +$(OBJSL2)
1997-05-16 07:46:07 +00:00
$(LIB) libpng +$(OBJSL3)
1996-01-26 07:38:47 +00:00
1998-03-07 12:06:55 +00:00
pngtest$(E): pngtest$(O) libpng.lib
$(CC) $(LDFLAGS) pngtest.obj libpng.lib zlib.lib
1998-03-09 00:52:15 +00:00
# End of makefile for libpng