2 # Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
6 THISDIR = $+ $(%cdrive):$(%cwd) $-
7 # set OUTPUTDIR to the directory to be used for the .obj files created during
8 # the build (under $THISDIR)
10 OUTPUTDIR=$(THISDIR)\$(BASEDIRPREFIX)$(CONFIGURATION)Watcom
11 # no trailing slash for win98
14 !include $(WXDIR)\src\makewat.env
18 all: MAKDIR $(LIBTARGET) .SYMBOLIC
21 @if not exist $(OUTPUTDIR) mkdir $(OUTPUTDIR)
23 # the name of the file containing the objects to be put in the library
24 LBCFILE=$(LIBTARGET).lbc
25 $(LIBTARGET) : $(OBJECTS)
27 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
28 $(LIB) /b /c /n /p=512 $^@ @$(LBCFILE)
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