1 # Makefile to build the composite D runtime library for Win32
2 # Designed to work with DigitalMars make
7 # Build the runtime library
9 # Generate documentation
11 # Delete unneeded files created by build process
13 LIB_TARGET=druntime.lib
20 LIB_CC=$(DIR_CC)\druntime-core.lib
21 LIB_RT=$(DIR_RT)\druntime-rt-dmd.lib
22 LIB_GC=$(DIR_GC)\druntime-gc-basic.lib
40 ######################################################
44 ######################################################
48 ######################################################
52 make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
55 make -fwin32.mak lib DC=$(DC)
58 make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
61 $(LC) -c -n $(LIB_TARGET) $(LIB_CC) $(LIB_RT) $(LIB_GC)
65 make -fwin32.mak doc DC=$(DC)
68 make -fwin32.mak doc DC=$(DC)
71 make -fwin32.mak doc DC=$(DC)
74 ######################################################
81 make -fwin32.mak clean
84 make -fwin32.mak clean
87 make -fwin32.mak clean
93 make -fwin32.mak install
96 make -fwin32.mak install
99 make -fwin32.mak install
101 $(CP) $(LIB_MASK) $(LIB_DEST)\.