]> git.saurik.com Git - wxWidgets.git/blob - src/xpm/makefile.wat
create masks even (slightly) faster
[wxWidgets.git] / src / xpm / makefile.wat
1 #!/binb/wmake.exe
2 #
3 # File: makefile.wat
4 # Author: Julian Smart
5 # Created: 1998
6 #
7 # Makefile : Builds XPM library for Watcom C++, WIN32
8
9 WXDIR = ..\..
10
11 !include $(WXDIR)\src\makewat.env
12
13 WXLIB = $(WXDIR)\lib
14
15 LIBTARGET = $(WXLIB)\xpm.lib
16
17 OBJECTS = attrib.obj &
18 crbuffri.obj &
19 crdatfri.obj &
20 create.obj &
21 crifrbuf.obj &
22 crifrdat.obj &
23 data.obj &
24 image.obj &
25 info.obj &
26 hashtab.obj &
27 misc.obj &
28 parse.obj &
29 rdftodat.obj &
30 rdftoi.obj &
31 rgb.obj &
32 scan.obj &
33 simx.obj &
34 wrffrdat.obj &
35 wrffri.obj
36
37 all: $(OBJECTS) $(LIBTARGET)
38
39 $(LIBTARGET) : $(OBJECTS)
40 %create tmp.lbc
41 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
42 wlib /b /c /n /p=512 $^@ @tmp.lbc
43
44 clean: .SYMBOLIC
45 -erase *.obj
46 -erase $(LIBTARGET)
47 -erase *.pch
48 -erase *.err
49 -erase *.lbc
50
51 cleanall: clean
52
53 #accel.obj: $(MSWDIR)\accel.cpp
54 # *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
55
56