File: Makefile.org

package info (click to toggle)
mysqltcl 2.0rc11-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 652 kB
  • ctags: 135
  • sloc: sh: 7,873; ansic: 1,165; tcl: 94; makefile: 57; sql: 15
file content (14 lines) | stat: -rw-r--r-- 323 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Please Edit the 2 lines below 
# end set correct paths
# paths to -> tcl.h mysql.h 
INCLUDE=-I/usr/include -I/usr/include
# path to .> libmysqclient.so
LIBS=-L/usr/lib

ALL:libmysqltcl.so 

mysqltcl.o:mysqltcl.c
	gcc -c mysqltcl.c ${INCLUDE} 

libmysqltcl.so:mysqltcl.o
	gcc  -fPIC -shared -o $@ $< ${LIBS} -lmysqlclient