CC = gcc
FLAGS = -Wall `gtk-config --cflags`
LIBS = `gtk-config --libs`
GDK_MAGIC_LIB = /usr/local/gdkmagick/lib/libgdkmagick.so
GDK_MAGIC_INCLUDE = -I/usr/local/gdkmagick/include

ALL: image_pixel

image_pixel: image_pixel.c
	$(CC) image_pixel.c -o image_pixel $(FLAGS) $(LIBS) $(GDK_MAGIC_INCLUDE) $(GDK_MAGIC_LIB)

run:
	image_pixel

clean:
	rm -f core *~ image_pixel
