]> git.saurik.com Git - wxWidgets.git/blame - src/png/makefile.wat
added an error message if a bitmap can't be addedto the image list
[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 = ..\..
10
11!include $(WXDIR)\src\makewat.env
12
13WXLIB = $(WXDIR)\lib
14
15LIBTARGET = $(WXLIB)\png.lib
16
17OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj &
18 pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj &
19 pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj
20
21all: $(OBJECTS) $(LIBTARGET)
22
23$(LIBTARGET) : $(OBJECTS)
24 %create tmp.lbc
25 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
26 wlib /b /c /n /p=512 $^@ @tmp.lbc
27
28clean: .SYMBOLIC
29 -erase *.obj
30 -erase $(LIBTARGET)
31 -erase *.pch
32 -erase *.err
33 -erase *.lbc
34
35cleanall: clean
36
37#accel.obj: $(MSWDIR)\accel.cpp
38# *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
39
40