summaryrefslogtreecommitdiff
path: root/builddmc.bat
diff options
context:
space:
mode:
Diffstat (limited to 'builddmc.bat')
-rw-r--r--builddmc.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/builddmc.bat b/builddmc.bat
new file mode 100644
index 0000000..3edbaeb
--- /dev/null
+++ b/builddmc.bat
@@ -0,0 +1,9 @@
+; Build the pthreads library with the Digital Mars Compiler
+;
+set DMCDIR=c:\dm
+
+; RELEASE
+%DMCDIR%\bin\dmc -D_WIN32_WINNT -D_MT -DHAVE_CONFIG_H -I.;c:\dm\include -o+all -WD pthread.c user32.lib+kernel32.lib+wsock32.lib -L/impl -L/NODEBUG -L/SU:WINDOWS
+
+; DEBUG
+%DMCDIR%\bin\dmc -g -D_WIN32_WINNT -D_MT -DHAVE_CONFIG_H -I.;c:\dm\include -o+all -WD pthread.c user32.lib+kernel32.lib+wsock32.lib -L/impl -L/SU:WINDOWS