summaryrefslogtreecommitdiffhomepage
path: root/libpng/contrib/pngminus/makefile.tc3
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-09-29 21:56:06 +0200
committerAki <please@ignore.pl>2021-09-29 21:56:06 +0200
commit740dcb396658606b435d42203e729de96e1814ad (patch)
treeb8446f1320d5836cc258b873cec378d6f735829e /libpng/contrib/pngminus/makefile.tc3
parentc5337fbb15c93d63739abbef259e8cc8db117877 (diff)
parent32d5cbb90bcca185eb2f96307f1fc644c612178d (diff)
downloadstarshatter-740dcb396658606b435d42203e729de96e1814ad.zip
starshatter-740dcb396658606b435d42203e729de96e1814ad.tar.gz
starshatter-740dcb396658606b435d42203e729de96e1814ad.tar.bz2
Merge commit '32d5cbb90bcca185eb2f96307f1fc644c612178d' as 'libpng'
Diffstat (limited to 'libpng/contrib/pngminus/makefile.tc3')
-rw-r--r--libpng/contrib/pngminus/makefile.tc338
1 files changed, 38 insertions, 0 deletions
diff --git a/libpng/contrib/pngminus/makefile.tc3 b/libpng/contrib/pngminus/makefile.tc3
new file mode 100644
index 0000000..404f18d
--- /dev/null
+++ b/libpng/contrib/pngminus/makefile.tc3
@@ -0,0 +1,38 @@
+# Makefile for PngMinus (png2pnm and pnm2png)
+# TurboC++ 3.0
+
+CC=tcc -Ic:\tc3\inc
+LD=tcc -Lc:\tc3\lib
+LB=tlib
+RM=del
+CP=copy
+MODEL=l
+CCFLAGS=-O -m$(MODEL) -I..\libpng -I..\zlib
+LDFLAGS=-m$(MODEL) -L..\libpng -L..\zlib
+C=.c
+O=.obj
+L=.lib
+E=.exe
+
+# dependencies
+
+all: png2pnm$(E) pnm2png$(E)
+
+png2pnm$(O): png2pnm$(C)
+ $(CC) -c $(CCFLAGS) png2pnm$(C)
+
+png2pnm$(E): png2pnm$(O)
+ $(LD) $(LDFLAGS) png2pnm$(O) libpng$(L) zlib$(L)
+
+pnm2png$(O): pnm2png$(C)
+ $(CC) -c $(CCFLAGS) pnm2png$(C)
+
+pnm2png$(E): pnm2png$(O)
+ $(LD) $(LDFLAGS) pnm2png$(O) libpng$(L) zlib$(L)
+
+clean:
+ $(RM) *$(O)
+ $(RM) *$(E)
+
+# End of makefile for png2pnm / pnm2png
+