]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makelib.wat
started for unicode text control, in case we will not be able to get the MLTE EchoMod...
[wxWidgets.git] / src / makelib.wat
... / ...
CommitLineData
1#
2# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
3#
4
5
6THISDIR = $+ $(%cdrive):$(%cwd) $-
7# set OUTPUTDIR to the directory to be used for the .obj files created during
8# the build (under $THISDIR)
9!ifndef OUTPUTDIR
10OUTPUTDIR=$(THISDIR)\$(BASEDIRPREFIX)$(CONFIGURATION)Watcom
11# no trailing slash for win98
12!endif
13
14!include $(WXDIR)\src\makewat.env
15
16
17
18all: MAKDIR $(LIBTARGET) .SYMBOLIC
19
20MAKDIR: .SYMBOLIC
21 @if not exist $(OUTPUTDIR) mkdir $(OUTPUTDIR)
22
23# the name of the file containing the objects to be put in the library
24LBCFILE=$(LIBTARGET).lbc
25$(LIBTARGET) : $(OBJECTS)
26 %create $(LBCFILE)
27 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
28 $(LIB) /b /c /n /p=512 $^@ @$(LBCFILE)
29
30clean: .SYMBOLIC
31 -erase $(OUTPUTDIR)\*.obj
32 -erase $(OUTPUTDIR)\*.bak
33 -erase $(OUTPUTDIR)\*.err
34 -erase $(OUTPUTDIR)\*.pch
35 -erase $(OUTPUTDIR)\*.lib
36 -erase $(OUTPUTDIR)\*.lbc
37 -erase $(OUTPUTDIR)\*.res
38 -erase $(OUTPUTDIR)\*.exe
39 -erase $(OUTPUTDIR)\*.lbc
40 -erase $(LIBTARGET)
41