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
15 OUTPUTDIR= $+ $(%cdrive):$(%cwd)\WATCOM $-
18 !include $(WXDIR)\src\makewat.env
21 all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
28 @if not exist $^@ mkdir $^@
30 all: MAKDIR $(LIBTARGET) .SYMBOLIC
36 @if not exist $(OUTPUTDIR) mkdir $(OUTPUTDIR)
39 # the name of the file containing the objects to be put in the library
40 LBCFILE=$(LIBTARGET).lbc
41 $(LIBTARGET) : $(OBJECTS)
43 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
44 $(LIB) /b /c /n /p=512 $^@ @$(LBCFILE)
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