SHELL = /bin/sh

CFLAGS = $(RPM_OPT_FLAGS) -I../include

testcms.o: testcms.c

testcms: testcms.o ../src/liblcms.a
	$(CC) $(CFLAGS) testcms.o -o $@ -lm -L../src -llcms

all: testcms test

test: testcms
	LD_LIBRARY_PATH=../src ./testcms

install:
	# Nothing to install
	
clean:
	-rm testcms.o testcms testcms.exe

	
