mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-22 21:33:33 +02:00
allow custom check path
This commit is contained in:
parent
9be3ef639c
commit
c164b8ea54
1 changed files with 4 additions and 3 deletions
|
@ -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"`
|
||||
|
||||
LDFLAGS = -L/usr/local/lib -lcheck
|
||||
CFLAGS = -g -Wall -D$(OS) -I../src -I/usr/local/include -pedantic
|
||||
CHECK_PATH = /usr/local
|
||||
LDFLAGS += -L${CHECK_PATH}/lib -lcheck
|
||||
CFLAGS += -g -Wall -D$(OS) -I../src -I${CHECK_PATH}/include -pedantic
|
||||
|
||||
all: $(TEST)
|
||||
@./$(TEST)
|
||||
@LD_LIBRARY_PATH=${CHECK_PATH}/lib ./$(TEST)
|
||||
|
||||
$(TEST): $(OBJS) $(SRCOBJS)
|
||||
@echo LD $(TEST)
|
||||
|
|
Loading…
Reference in a new issue