X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/e0289159505fc0ddeb7e2a4c48c328a8d7cc1174..0edf44cfdbe2262d5c50bfa7368ba2692600babc:/src/dmd-win32.mak?ds=sidebyside diff --git a/src/dmd-win32.mak b/src/dmd-win32.mak index e2798f5..d7c83b1 100644 --- a/src/dmd-win32.mak +++ b/src/dmd-win32.mak @@ -1,19 +1,20 @@ # Makefile to build the composite D runtime library for Win32 # Designed to work with DigitalMars make # Targets: -# make -# Same as make all -# make lib -# Build the runtime library +# make +# Same as make all +# make lib +# Build the runtime library # make doc # Generate documentation -# make clean -# Delete unneeded files created by build process +# make clean +# Delete unneeded files created by build process LIB_TARGET=druntime-dmd.lib -LIB_MASK=druntime-dmd*.lib +DUP_TARGET=druntime.lib +LIB_MASK=druntime*.lib -DIR_CC=core +DIR_CC=common DIR_RT=compiler\dmd DIR_GC=gc\basic @@ -52,23 +53,25 @@ lib : $(ALL_OBJS) make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)" cd .. cd $(DIR_RT) - make -fwin32.mak lib + make -fwin32.mak lib DC=$(DC) cd ..\.. cd $(DIR_GC) make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)" cd ..\.. $(RM) $(LIB_TARGET) $(LC) -c -n $(LIB_TARGET) $(LIB_CC) $(LIB_RT) $(LIB_GC) + $(RM) $(DUP_TARGET) + copy $(LIB_TARGET) $(DUP_TARGET) doc : $(ALL_DOCS) cd $(DIR_CC) - make -fwin32.mak doc + make -fwin32.mak doc DC=$(DC) cd .. cd $(DIR_RT) - make -fwin32.mak doc + make -fwin32.mak doc DC=$(DC) cd ..\.. cd $(DIR_GC) - make -fwin32.mak doc + make -fwin32.mak doc DC=$(DC) cd ..\.. ######################################################