]> git.saurik.com Git - wxWidgets.git/blame - src/xpm/makefile.wat
compilation fix for DJGPP
[wxWidgets.git] / src / xpm / 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 XPM library for Watcom C++, WIN32
8
9WXDIR = ..\..
10
11!include $(WXDIR)\src\makewat.env
12
13WXLIB = $(WXDIR)\lib
14
15LIBTARGET = $(WXLIB)\xpm.lib
16
e6ed776f
GRG
17OBJECTS = attrib.obj &
18 crbuffri.obj &
8a2c6ef8
JS
19 crdatfri.obj &
20 create.obj &
e6ed776f 21 crifrbuf.obj &
8a2c6ef8
JS
22 crifrdat.obj &
23 data.obj &
e6ed776f
GRG
24 image.obj &
25 info.obj &
8a2c6ef8 26 hashtab.obj &
e6ed776f 27 misc.obj &
8a2c6ef8 28 parse.obj &
e6ed776f 29 rdftodat.obj &
8a2c6ef8
JS
30 rdftoi.obj &
31 rgb.obj &
e6ed776f 32 scan.obj &
8a2c6ef8 33 simx.obj &
e6ed776f
GRG
34 wrffrdat.obj &
35 wrffri.obj
8a2c6ef8
JS
36
37all: $(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
44clean: .SYMBOLIC
45 -erase *.obj
46 -erase $(LIBTARGET)
47 -erase *.pch
48 -erase *.err
49 -erase *.lbc
50
51cleanall: clean
52
53#accel.obj: $(MSWDIR)\accel.cpp
54# *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
55
56