File: Makefile.org

package info (click to toggle)
mysqltcl 3.05-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 948 kB
  • ctags: 282
  • sloc: ansic: 3,181; tcl: 1,276; sh: 142; makefile: 71; sql: 20
file content (14 lines) | stat: -rwxr-xr-x 361 bytes parent folder | download | duplicates (10)
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/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