Last change
on this file since 26688 was 6395, checked in by vboxsync, 17 years ago |
export libpng and zlib so Windows and OS/2 build cleanly.
|
-
Property svn:eol-style
set to
native
|
File size:
678 bytes
|
Line | |
---|
1 | # Makefile for PngMinus (png2pnm and pnm2png)
|
---|
2 | # TurboC++ 3.0
|
---|
3 |
|
---|
4 | CC=tcc -Ic:\tc3\inc
|
---|
5 | LD=tcc -Lc:\tc3\lib
|
---|
6 | LB=tlib
|
---|
7 | RM=del
|
---|
8 | CP=copy
|
---|
9 | MODEL=l
|
---|
10 | CCFLAGS=-O -m$(MODEL) -I..\libpng -I..\zlib
|
---|
11 | LDFLAGS=-m$(MODEL) -L..\libpng -L..\zlib
|
---|
12 | C=.c
|
---|
13 | O=.obj
|
---|
14 | L=.lib
|
---|
15 | E=.exe
|
---|
16 |
|
---|
17 | # dependencies
|
---|
18 |
|
---|
19 | all: png2pnm$(E) pnm2png$(E)
|
---|
20 |
|
---|
21 | png2pnm$(O): png2pnm$(C)
|
---|
22 | $(CC) -c $(CCFLAGS) png2pnm$(C)
|
---|
23 |
|
---|
24 | png2pnm$(E): png2pnm$(O)
|
---|
25 | $(LD) $(LDFLAGS) png2pnm$(O) libpng$(L) zlib$(L)
|
---|
26 |
|
---|
27 | pnm2png$(O): pnm2png$(C)
|
---|
28 | $(CC) -c $(CCFLAGS) pnm2png$(C)
|
---|
29 |
|
---|
30 | pnm2png$(E): pnm2png$(O)
|
---|
31 | $(LD) $(LDFLAGS) pnm2png$(O) libpng$(L) zlib$(L)
|
---|
32 |
|
---|
33 | clean:
|
---|
34 | $(RM) *$(O)
|
---|
35 | $(RM) *$(E)
|
---|
36 |
|
---|
37 | # End of makefile for png2pnm / pnm2png
|
---|
38 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.