]> git.sven.stormbind.net Git - sven/mysqltcl.git/blobdiff - generic/Makefile.org
Imported Upstream version 3.05
[sven/mysqltcl.git] / generic / Makefile.org
diff --git a/generic/Makefile.org b/generic/Makefile.org
new file mode 100755 (executable)
index 0000000..8e2f72e
--- /dev/null
@@ -0,0 +1,14 @@
+# Please Edit the 2 lines below 
+# end set correct paths
+# paths to -> tcl.h mysql.h 
+INCLUDE=-I/usr/include -I/usr/include/mysql
+# path to .> libmysqclient.so
+LIBS=-L/usr/lib/mysql
+
+ALL:libmysqltcl.so 
+
+mysqltcl.o:mysqltcl.c
+       gcc -c -Wall -DVERSION=\"0.21\" mysqltcl.c ${INCLUDE} 
+
+libmysqltcl.so:mysqltcl.o
+       gcc  -fPIC -shared -o $@ $< ${LIBS} -lmysqlclient