wxWidgets/src/makelib.wat
Chris Elliott df2309bac7 remove conflicts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 11:22:50 +00:00

42 lines
1.0 KiB
Plaintext

#
# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
#
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
!include $(WXDIR)\src\makewat.env
all: MAKDIR $(LIBTARGET) .SYMBOLIC
MAKDIR: .SYMBOLIC
@if not exist $(OUTPUTDIR) mkdir $(OUTPUTDIR)
# the name of the file containing the objects to be put in the library
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 $(LIBTARGET)