I write a C program to save data into MYSQL database on Solaris 5.8.
my Makefile is :
CC=gcc
INCLUDES = -I/usr/local/mysql/include/mysql
LIBS = -L/usr/local/mysql/lib/mysql -lmysqlclient -lm -lsocket -lnsl -lz
all: kscsbt
KStringCounting.o: KStringCounting.c KString.h
$(CC) -c $(INCLUDES)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.