When I use C Api for Mysql, I heard that I need to compile with gcc like
gcc $(mysql_config –cflags –libs) source.c
but it is tired using this awkward whenever compile c file using mysql.
isn’t there any good ways to compile like
gcc source.c
when using Mysql C api.
please help me!
Learn how to write a small Makefile, and you’ll simply type
maketo compile your program.