view Makefile.msvc @ 0:d39e1d0d75b6

initial add
author paulo@hit-nxdomain.opendns.com
date Sat, 20 Feb 2010 21:18:28 -0800
parents
children
line source
1 # $Id: Makefile.msvc,v 1.12 2004/11/11 17:56:04 mkern Exp $
2 # Microsoft Visual C++ 6.0 makefile
3 # see README.msvc for usage
5 !if !defined(BUILD_ROOT)
6 BUILD_ROOT=$(MAKEDIR)\..
7 !endif
9 !include Make.msvc
11 MAKEOPTS=-nologo -C BUILD_ROOT=$(BUILD_ROOT)
14 all:
15 cd src
16 @$(MAKE) $(MAKEOPTS) -f Makefile.msvc
17 cd ..
20 clean:
21 cd src
22 @$(MAKE) $(MAKEOPTS) -f Makefile.msvc clean
23 cd ..
26 win32-dist: all
27 @-md $(BUILD_ROOT)\win32-dist\data\Gnutella
28 @for %f in ($(DIST_DLLS)) DO copy %f $(BUILD_ROOT)\win32-dist
29 @copy data\Gnutella.conf $(BUILD_ROOT)\win32-dist\data\Gnutella\Gnutella.conf
30 @copy data\gwebcaches $(BUILD_ROOT)\win32-dist\data\Gnutella\gwebcaches
31 @copy data\hostiles.txt $(BUILD_ROOT)\win32-dist\data\Gnutella\hostiles.txt
32 !if defined(dynamic) || defined(DYNAMIC)
33 # remove traling 'd' for debug builds in distro
34 @copy src\$(GNUTELLA_DLL) $(BUILD_ROOT)\win32-dist\Gnutella.dll
35 !endif
38 clean-dist:
39 @-rmdir /S $(BUILD_ROOT)\win32-dist\Gnutella
40 @-rmdir /S $(BUILD_ROOT)\win32-dist\data\Gnutella