Blame thirdparty/libpng-1.6.21/contrib/pngminus/makefile.tc3
|
fukasawa |
e60969 |
# Makefile for PngMinus (png2pnm and pnm2png)
|
|
fukasawa |
e60969 |
# TurboC++ 3.0
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
CC=tcc -Ic:\tc3\inc
|
|
fukasawa |
e60969 |
LD=tcc -Lc:\tc3\lib
|
|
fukasawa |
e60969 |
LB=tlib
|
|
fukasawa |
e60969 |
RM=del
|
|
fukasawa |
e60969 |
CP=copy
|
|
fukasawa |
e60969 |
MODEL=l
|
|
fukasawa |
e60969 |
CPPFLAGS=-I..\libpng -I..\zlib
|
|
fukasawa |
e60969 |
CFLAGS=-O -m$(MODEL)
|
|
fukasawa |
e60969 |
LDFLAGS=-m$(MODEL) -L..\libpng -L..\zlib
|
|
fukasawa |
e60969 |
C=.c
|
|
fukasawa |
e60969 |
O=.obj
|
|
fukasawa |
e60969 |
L=.lib
|
|
fukasawa |
e60969 |
E=.exe
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
# dependencies
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
all: png2pnm$(E) pnm2png$(E)
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
png2pnm$(O): png2pnm$(C)
|
|
fukasawa |
e60969 |
$(CC) -c $(CPPFLAGS) $(CFLAGS) png2pnm$(C)
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
png2pnm$(E): png2pnm$(O)
|
|
fukasawa |
e60969 |
$(LD) $(LDFLAGS) png2pnm$(O) libpng$(L) zlib$(L)
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
pnm2png$(O): pnm2png$(C)
|
|
fukasawa |
e60969 |
$(CC) -c $(CPPFLAGS) $(CFLAGS) pnm2png$(C)
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
pnm2png$(E): pnm2png$(O)
|
|
fukasawa |
e60969 |
$(LD) $(LDFLAGS) pnm2png$(O) libpng$(L) zlib$(L)
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
clean:
|
|
fukasawa |
e60969 |
$(RM) *$(O)
|
|
fukasawa |
e60969 |
$(RM) *$(E)
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
# End of makefile for png2pnm / pnm2png
|