aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml11
-rw-r--r--makefile.nmake15
2 files changed, 26 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..701bf94
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,11 @@
+image: Visual Studio 2015
+
+platform:
+ - x86
+ - x64
+
+build_script:
+- cmd: >-
+ if "%platform%" == "x86" call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x86
+ if "%platform%" == "x64" call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" amd64
+ nmake /f makefile.nmake
diff --git a/makefile.nmake b/makefile.nmake
new file mode 100644
index 0000000..83ae9a4
--- /dev/null
+++ b/makefile.nmake
@@ -0,0 +1,15 @@
+CFLAGS = /I. /DNOGDI=true /D_CRT_SECURE_NO_WARNINGS /DWIN32_MEAN_AND_LEAN \
+ /W4 /NOLOGO
+
+OBJS = \
+ bufferedmotion.obj \
+ busdevice.obj \
+ devicedeployment.obj \
+ drivers/serial/pcserialport.obj \
+ drivers/tcpip/tcpclient.obj \
+ simplemotion.obj \
+ sm_consts.obj
+
+simplemotionv2.lib: $(OBJS)
+ if exist simplemotionv2.lib del simplemotionv2.lib
+ lib /out:simplemotionv2.lib $(OBJS)