]> git.sven.stormbind.net Git - sven/mysqltcl.git/blob - generic/Makefile.org
Imported Upstream version 3.05
[sven/mysqltcl.git] / generic / Makefile.org
1 # Please Edit the 2 lines below 
2 # end set correct paths
3 # paths to -> tcl.h mysql.h 
4 INCLUDE=-I/usr/include -I/usr/include/mysql
5 # path to .> libmysqclient.so
6 LIBS=-L/usr/lib/mysql
7
8 ALL:libmysqltcl.so 
9
10 mysqltcl.o:mysqltcl.c
11         gcc -c -Wall -DVERSION=\"0.21\" mysqltcl.c ${INCLUDE} 
12
13 libmysqltcl.so:mysqltcl.o
14         gcc  -fPIC -shared -o $@ $< ${LIBS} -lmysqlclient