]> git.saurik.com Git - wxWidgets.git/blame - src/makelib.wat
digital mars updated
[wxWidgets.git] / src / makelib.wat
CommitLineData
ddea7eb6
CE
1#
2# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
3#
4
5<<<<<<< makelib.wat
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=======
15OUTPUTDIR= $+ $(%cdrive):$(%cwd)\WATCOM $-
16
17>>>>>>> 1.1.8.2
d51f2e65 18!include $(WXDIR)\src\makewat.env
ddea7eb6 19<<<<<<< makelib.wat
dbda9e86 20
ddea7eb6
CE
21all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
22=======
dbda9e86 23
ddea7eb6
CE
24>>>>>>> 1.1.8.2
25
26<<<<<<< makelib.wat
efa7066d
VZ
27$(OUTPUTDIR):
28 @if not exist $^@ mkdir $^@
ddea7eb6
CE
29=======
30all: MAKDIR $(LIBTARGET) .SYMBOLIC
31>>>>>>> 1.1.8.2
32
33<<<<<<< makelib.wat
34=======
35MAKDIR: .SYMBOLIC
36 @if not exist $(OUTPUTDIR) mkdir $(OUTPUTDIR)
dbda9e86 37
ddea7eb6 38>>>>>>> 1.1.8.2
efa7066d 39# the name of the file containing the objects to be put in the library
ddea7eb6 40LBCFILE=$(LIBTARGET).lbc
dbda9e86 41$(LIBTARGET) : $(OBJECTS)
efa7066d
VZ
42 %create $(LBCFILE)
43 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
44 $(LIB) /b /c /n /p=512 $^@ @$(LBCFILE)
dbda9e86
JS
45
46clean: .SYMBOLIC
ddea7eb6
CE
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
dbda9e86
JS
56 -erase $(LIBTARGET)
57