]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.fastlz/native/compile.bat
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.fastlz / native / compile.bat
diff --git a/bundles/org.simantics.fastlz/native/compile.bat b/bundles/org.simantics.fastlz/native/compile.bat
new file mode 100644 (file)
index 0000000..22968b8
--- /dev/null
@@ -0,0 +1,14 @@
+@rem ***************************************************************************\r
+@rem Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
+@rem in Industry THTH ry.\r
+@rem All rights reserved. This program and the accompanying materials\r
+@rem are made available under the terms of the Eclipse Public License v1.0\r
+@rem which accompanies this distribution, and is available at\r
+@rem http://www.eclipse.org/legal/epl-v10.html\r
+@rem\r
+@rem Contributors:\r
+@rem     VTT Technical Research Centre of Finland - initial API and implementation\r
+@rem ***************************************************************************\r
+rem gcc -mno-cygwin "-I$jdk/include" "-I$jdk$jdk/include/win32" -Wl,--add-stdcall-alias -shared -o ../src/fastlz-windows-x86.dll fastlz.c lz4.c lz4hc.c jniWrapper.c\r
+gcc -mno-cygwin "-I%JAVA_HOME%/include" "-I%JAVA_HOME%/include/win32" -Wl,--add-stdcall-alias -shared -o ../src/fastlz-windows-x86.dll fastlz.c lz4.c lz4hc.c jniWrapper.c\r
+gcc -o fastlz_test.exe fastlz.c fastlz_read.c fastlz_write.c fastlz_test.c\r