]> git.saurik.com Git - wxWidgets.git/blob - src/makelib.wat
fix wxDisplay initialization (patch 735303)
[wxWidgets.git] / src / makelib.wat
1 #
2 # Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
3 #
4
5 <<<<<<< makelib.wat
6 THISDIR = $+ $(%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
10 OUTPUTDIR=$(THISDIR)\$(BASEDIRPREFIX)$(CONFIGURATION)Watcom
11 # no trailing slash for win98
12 !endif
13
14 =======
15 OUTPUTDIR= $+ $(%cdrive):$(%cwd)\WATCOM $-
16
17 >>>>>>> 1.1.8.2
18 !include $(WXDIR)\src\makewat.env
19 <<<<<<< makelib.wat
20
21 all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
22 =======
23
24 >>>>>>> 1.1.8.2
25
26 <<<<<<< makelib.wat
27 $(OUTPUTDIR):
28 @if not exist $^@ mkdir $^@
29 =======
30 all: MAKDIR $(LIBTARGET) .SYMBOLIC
31 >>>>>>> 1.1.8.2
32
33 <<<<<<< makelib.wat
34 =======
35 MAKDIR: .SYMBOLIC
36 @if not exist $(OUTPUTDIR) mkdir $(OUTPUTDIR)
37
38 >>>>>>> 1.1.8.2
39 # the name of the file containing the objects to be put in the library
40 LBCFILE=$(LIBTARGET).lbc
41 $(LIBTARGET) : $(OBJECTS)
42 %create $(LBCFILE)
43 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
44 $(LIB) /b /c /n /p=512 $^@ @$(LBCFILE)
45
46 clean: .SYMBOLIC
47 -erase $(OUTPUTDIR)\*.obj
48 -erase $(OUTPUTDIR)\*.bak
49 -erase $(OUTPUTDIR)\*.err
50 -erase $(OUTPUTDIR)\*.pch
51 -erase $(OUTPUTDIR)\*.lib
52 -erase $(OUTPUTDIR)\*.lbc
53 -erase $(OUTPUTDIR)\*.res
54 -erase $(OUTPUTDIR)\*.exe
55 -erase $(OUTPUTDIR)\*.lbc
56 -erase $(LIBTARGET)
57