X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/efa7066d36b72e20a3c9475c4aaea00391b5f593..ce8897bbff9d364dbef319bdec3db1126eb7fd92:/src/makelib.wat diff --git a/src/makelib.wat b/src/makelib.wat index 52cd95aa5b..3390cb6ff2 100644 --- a/src/makelib.wat +++ b/src/makelib.wat @@ -1,26 +1,57 @@ -!include makewat.env +# +# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch +# -all: $(OUTPUTDIR) $(LIBTARGET) +<<<<<<< makelib.wat +THISDIR = $+ $(%cdrive):$(%cwd) $- +# set OUTPUTDIR to the directory to be used for the .obj files created during +# the build (under $THISDIR) +!ifndef OUTPUTDIR +OUTPUTDIR=$(THISDIR)\$(BASEDIRPREFIX)$(CONFIGURATION)Watcom +# no trailing slash for win98 +!endif +======= +OUTPUTDIR= $+ $(%cdrive):$(%cwd)\WATCOM $- + +>>>>>>> 1.1.8.2 +!include $(WXDIR)\src\makewat.env +<<<<<<< makelib.wat + +all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC +======= + +>>>>>>> 1.1.8.2 + +<<<<<<< makelib.wat $(OUTPUTDIR): @if not exist $^@ mkdir $^@ +======= +all: MAKDIR $(LIBTARGET) .SYMBOLIC +>>>>>>> 1.1.8.2 + +<<<<<<< makelib.wat +======= +MAKDIR: .SYMBOLIC + @if not exist $(OUTPUTDIR) mkdir $(OUTPUTDIR) +>>>>>>> 1.1.8.2 # the name of the file containing the objects to be put in the library -LBCFILE=$(OUTPUTDIR)$(LIBTARGET).lbc +LBCFILE=$(LIBTARGET).lbc $(LIBTARGET) : $(OBJECTS) %create $(LBCFILE) @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i $(LIB) /b /c /n /p=512 $^@ @$(LBCFILE) clean: .SYMBOLIC - -erase $(OUTPUTDIR)*.obj - -erase $(OUTPUTDIR)*.bak - -erase $(OUTPUTDIR)*.err - -erase $(OUTPUTDIR)*.pch - -erase $(OUTPUTDIR)*.lib - -erase $(OUTPUTDIR)*.lbc - -erase $(OUTPUTDIR)*.res - -erase $(OUTPUTDIR)*.exe - -erase $(OUTPUTDIR)*.lbc + -erase $(OUTPUTDIR)\*.obj + -erase $(OUTPUTDIR)\*.bak + -erase $(OUTPUTDIR)\*.err + -erase $(OUTPUTDIR)\*.pch + -erase $(OUTPUTDIR)\*.lib + -erase $(OUTPUTDIR)\*.lbc + -erase $(OUTPUTDIR)\*.res + -erase $(OUTPUTDIR)\*.exe + -erase $(OUTPUTDIR)\*.lbc -erase $(LIBTARGET)