]> git.saurik.com Git - wxWidgets.git/blob - src/xpm/makefile.wat
automtn.cpp removed for Borland compilation
[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 = crbuffri.obj &
18 crdatfri.obj &
19 create.obj &
20 crifrbuf.obj &
21 crifrdat.obj &
22 data.obj &
23 hashtab.obj &
24 misc.obj &
25 parse.obj &
26 rdftodat.obj &
27 rdftoi.obj &
28 rgb.obj &
29 scan.obj &
30 simx.obj &
31 wrffrdat.obj &
32 wrffrp.obj &
33 wrffri.obj
34
35 all: $(OBJECTS) $(LIBTARGET)
36
37 $(LIBTARGET) : $(OBJECTS)
38 %create tmp.lbc
39 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
40 wlib /b /c /n /p=512 $^@ @tmp.lbc
41
42 clean: .SYMBOLIC
43 -erase *.obj
44 -erase $(LIBTARGET)
45 -erase *.pch
46 -erase *.err
47 -erase *.lbc
48
49 cleanall: clean
50
51 #accel.obj: $(MSWDIR)\accel.cpp
52 # *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
53
54