summaryrefslogtreecommitdiffstats
path: root/wintools/make.pl
diff options
context:
space:
mode:
Diffstat (limited to 'wintools/make.pl')
-rwxr-xr-xwintools/make.pl25
1 files changed, 25 insertions, 0 deletions
diff --git a/wintools/make.pl b/wintools/make.pl
new file mode 100755
index 0000000..ae1eff3
--- /dev/null
+++ b/wintools/make.pl
@@ -0,0 +1,25 @@
+# make script used to create a config file for windows
+
+use Cwd;
+
+# get current working directory
+$pwd=cwd();
+
+# create config file
+open(FILE,">makeconfig") || die "Cannot create file makeconfig!";
+
+print FILE "DOXYGEN = $pwd\n";
+print FILE "TMAKEPATH = $pwd\\tmake\\lib\\win32-msvc\n";
+print FILE "TMAKE = $pwd\\tmake\\bin\\tmake\n";
+print FILE "MAKE = nmake\n";
+print FILE "PERL = perl\n";
+print FILE "RM = del /s /q\n";
+print FILE "VERSION = ";
+
+# copy contents of VERSION file to FILE
+open(VERFILE,"<VERSION") || die "Cannot open file VERSION for reading!";
+while (<VERFILE>) {
+ print FILE $_;
+}
+close VERFILE;
+close FILE;