How to create Makefile for magick wand
Posted: 2009-12-09T09:30:07-07:00
Hi all,
I have written a C code that use magick wand libraries. It compiles and works well. How can i add this part of code to existing program?This program is compiled with a Makefile.
How can i add the compilation parameters to Makefile?
PS I'm not expert programmer...
Thank you
I have written a C code that use magick wand libraries. It compiles and works well. How can i add this part of code to existing program?This program is compiled with a Makefile.
How can i add the compilation parameters to Makefile?
Code: Select all
EXAMPLE cc `MagickWand-config --cflags --cppflags` -o wand wand.c `MagickWand-config --ldflags --libs`
Thank you