]> git.saurik.com Git - wxWidgets.git/blame - src/png/makefile.wat
Removal of previous wxValidtor code for wxOS2
[wxWidgets.git] / src / png / makefile.wat
CommitLineData
8a2c6ef8
JS
1#!/binb/wmake.exe
2#
3# File: makefile.wat
4# Author: Julian Smart
5# Created: 1998
6#
7# Makefile : Builds PNG library for Watcom C++, WIN32
8
9WXDIR = ..\..
25889d3c 10EXTRACPPFLAGS=-i=..\zlib
8a2c6ef8
JS
11
12!include $(WXDIR)\src\makewat.env
13
14WXLIB = $(WXDIR)\lib
15
16LIBTARGET = $(WXLIB)\png.lib
17
18OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj &
19 pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj &
20 pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj
21
22all: $(OBJECTS) $(LIBTARGET)
23
24$(LIBTARGET) : $(OBJECTS)
25 %create tmp.lbc
26 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
27 wlib /b /c /n /p=512 $^@ @tmp.lbc
28
29clean: .SYMBOLIC
30 -erase *.obj
31 -erase $(LIBTARGET)
32 -erase *.pch
33 -erase *.err
34 -erase *.lbc
35
36cleanall: clean
37