allow custom check path

This commit is contained in:
Erik Ekman 2009-01-06 13:41:45 +00:00
parent 168b05e3f7
commit ab75dae208

View File

@ -5,11 +5,12 @@ SRCOBJS = ../src/base32.o ../src/base64.o ../src/read.o ../src/dns.o ../src/enc
OS = `uname | tr "a-z" "A-Z"` OS = `uname | tr "a-z" "A-Z"`
LDFLAGS = -L/usr/local/lib -lcheck CHECK_PATH = /usr/local
CFLAGS = -g -Wall -D$(OS) -I../src -I/usr/local/include -pedantic LDFLAGS += -L${CHECK_PATH}/lib -lcheck
CFLAGS += -g -Wall -D$(OS) -I../src -I${CHECK_PATH}/include -pedantic
all: $(TEST) all: $(TEST)
@./$(TEST) @LD_LIBRARY_PATH=${CHECK_PATH}/lib ./$(TEST)
$(TEST): $(OBJS) $(SRCOBJS) $(TEST): $(OBJS) $(SRCOBJS)
@echo LD $(TEST) @echo LD $(TEST)