summaryrefslogtreecommitdiffstats
path: root/wintools
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-12-17 15:15:12 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-12-17 15:15:12 (GMT)
commit00415514455991a9ff44b926c50adda994128924 (patch)
tree8face58cec7cf3e5e23acec30b6af55f5bed931c /wintools
parent5167cf2076e30ed3f6ddd84b76543a0dff207496 (diff)
downloadDoxygen-00415514455991a9ff44b926c50adda994128924.zip
Doxygen-00415514455991a9ff44b926c50adda994128924.tar.gz
Doxygen-00415514455991a9ff44b926c50adda994128924.tar.bz2
Release-1.2.3-20001217
Diffstat (limited to 'wintools')
-rwxr-xr-xwintools/make.pl11
1 files changed, 9 insertions, 2 deletions
diff --git a/wintools/make.pl b/wintools/make.pl
index ae1eff3..e34fc2a 100755
--- a/wintools/make.pl
+++ b/wintools/make.pl
@@ -1,5 +1,12 @@
# make script used to create a config file for windows
+$target = shift @ARGV;
+$make = "make";
+if ($target eq "msvc")
+{
+ $make = "nmake";
+}
+
use Cwd;
# get current working directory
@@ -9,9 +16,9 @@ $pwd=cwd();
open(FILE,">makeconfig") || die "Cannot create file makeconfig!";
print FILE "DOXYGEN = $pwd\n";
-print FILE "TMAKEPATH = $pwd\\tmake\\lib\\win32-msvc\n";
+print FILE "TMAKEPATH = $pwd\\tmake\\lib\\win32-$target\n";
print FILE "TMAKE = $pwd\\tmake\\bin\\tmake\n";
-print FILE "MAKE = nmake\n";
+print FILE "MAKE = $make\n";
print FILE "PERL = perl\n";
print FILE "RM = del /s /q\n";
print FILE "VERSION = ";