]> git.saurik.com Git - wxWidgets.git/blob - src/png/makefile.wat
fixes to the sizers behaviour necessary to make the log dialog work again
[wxWidgets.git] / src / png / makefile.wat
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
9 WXDIR = ..\..
10 EXTRACPPFLAGS=-i=..\zlib
11
12 !include $(WXDIR)\src\makewat.env
13
14 WXLIB = $(WXDIR)\lib
15
16 LIBTARGET = $(WXLIB)\png.lib
17
18 OBJECTS = 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
22 all: $(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
29 clean: .SYMBOLIC
30 -erase *.obj
31 -erase $(LIBTARGET)
32 -erase *.pch
33 -erase *.err
34 -erase *.lbc
35
36 cleanall: clean
37