all repos — mgba @ 6a426c08919b750eff1cee7630e23ab47a45ec0a

mGBA Game Boy Advance Emulator

src/third-party/libpng/contrib/pngminus/makefile.tc3 (view raw)

 1# Makefile for PngMinus (png2pnm and pnm2png)
 2# TurboC++ 3.0
 3
 4CC=tcc -Ic:\tc3\inc
 5LD=tcc -Lc:\tc3\lib
 6LB=tlib
 7RM=del
 8CP=copy
 9MODEL=l
10CPPFLAGS=-I..\libpng -I..\zlib
11CFLAGS=-O -m$(MODEL)
12LDFLAGS=-m$(MODEL) -L..\libpng -L..\zlib
13C=.c
14O=.obj
15L=.lib
16E=.exe
17
18# dependencies
19
20all: png2pnm$(E) pnm2png$(E)
21
22png2pnm$(O): png2pnm$(C)
23        $(CC) -c $(CPPFLAGS) $(CFLAGS) png2pnm$(C)
24
25png2pnm$(E): png2pnm$(O)
26        $(LD) $(LDFLAGS) png2pnm$(O) libpng$(L) zlib$(L)
27
28pnm2png$(O): pnm2png$(C)
29        $(CC) -c $(CPPFLAGS) $(CFLAGS) pnm2png$(C)
30
31pnm2png$(E): pnm2png$(O)
32        $(LD) $(LDFLAGS) pnm2png$(O) libpng$(L) zlib$(L)
33
34clean:
35        $(RM) *$(O)
36        $(RM) *$(E)
37
38# End of makefile for png2pnm / pnm2png