]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makelib.wat
Applied patch [ 649157 ] wxDisplay for Unix
[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<<<<<<< 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
18!include $(WXDIR)\src\makewat.env
19<<<<<<< makelib.wat
20
21all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
22=======
23
24>>>>>>> 1.1.8.2
25
26<<<<<<< makelib.wat
27$(OUTPUTDIR):
28 @if not exist $^@ mkdir $^@
29=======
30all: MAKDIR $(LIBTARGET) .SYMBOLIC
31>>>>>>> 1.1.8.2
32
33<<<<<<< makelib.wat
34=======
35MAKDIR: .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
40LBCFILE=$(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
46clean: .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