blob: 08a58df6a05cc84309be4fc90597409ef90933c3 [file] [log] [blame]
anthony85836c52012-03-29 11:54:02 +00001
2# get includes and libraries from source directory
3SRC=$(shell pwd )/../..
4CFLAGS=-I$(SRC) -L$(SRC)/MagickWand/.libs -L$(SRC)/MagickCore/.libs
5
6# get includes and libraries from installed ImageMagick-devel Package
7#CFLAGS=-I/usr/include/ImageMagick
8
9LDLIBS=-lMagickWand -lMagickCore
10
11files=$(wildcard *.c)
12tests=$(files:%.c=%)
13
14all: $(tests)
15
16script-token-test: script-token-test.c ../script-token.[ch]
17 $(CC) -o script-token-test script-token-test.c
18
19clean:
20 rm -f $(tests)
anthony3731b342012-04-19 05:12:09 +000021
22test_script:
23 script-token-test.sh | diff script-token-test-results.txt -
anthonyd28c6a62012-05-08 00:12:56 +000024