]> git.saurik.com Git - wxWidgets.git/blob - src/makelib.wat
Made the colours more muted
[wxWidgets.git] / src / makelib.wat
1 #
2 # Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
3 #
4
5
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 !include $(WXDIR)\src\makewat.env
15
16
17
18 all: MAKDIR $(LIBTARGET) .SYMBOLIC
19
20 MAKDIR: .SYMBOLIC
21 @if not exist $(OUTPUTDIR) mkdir $(OUTPUTDIR)
22
23 # the name of the file containing the objects to be put in the library
24 LBCFILE=$(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
30 clean: .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