Sunday, November 28, 2010

sample Makefile

#

SOURCES=my_main.cpp

INC_PATH=~/tools/ImageMagick-6.6.5-4/Magick++/lib

LIBRARY_PATH=~/tools/ImageMagick-6.6.5-4/Magick++/bin

all:
    g++ -g -L$(LIBRARY_PATH) -O0 -o my_main $(SOURCES)

No comments: