diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-12-17 15:15:12 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-12-17 15:15:12 (GMT) |
commit | 00415514455991a9ff44b926c50adda994128924 (patch) | |
tree | 8face58cec7cf3e5e23acec30b6af55f5bed931c /wintools/make.pl | |
parent | 5167cf2076e30ed3f6ddd84b76543a0dff207496 (diff) | |
download | Doxygen-00415514455991a9ff44b926c50adda994128924.zip Doxygen-00415514455991a9ff44b926c50adda994128924.tar.gz Doxygen-00415514455991a9ff44b926c50adda994128924.tar.bz2 |
Release-1.2.3-20001217
Diffstat (limited to 'wintools/make.pl')
-rwxr-xr-x | wintools/make.pl | 11 |
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 = "; |