mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-24 00:59:19 +02:00
add osflags for tests
This commit is contained in:
parent
3ac090f847
commit
9f3e397475
|
@ -6,8 +6,8 @@ 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"`
|
||||||
|
|
||||||
CHECK_PATH = /usr/local
|
CHECK_PATH = /usr/local
|
||||||
LDFLAGS += -L${CHECK_PATH}/lib -lcheck
|
LDFLAGS = -L$(CHECK_PATH)/lib -lcheck `../src/osflags link`
|
||||||
CFLAGS += -g -Wall -D$(OS) -I../src -I${CHECK_PATH}/include -pedantic
|
CFLAGS = -g -Wall -D$(OS) -I../src -I$(CHECK_PATH)/include -pedantic `../src/osflags cflags`
|
||||||
|
|
||||||
all: $(TEST)
|
all: $(TEST)
|
||||||
@LD_LIBRARY_PATH=${CHECK_PATH}/lib ./$(TEST)
|
@LD_LIBRARY_PATH=${CHECK_PATH}/lib ./$(TEST)
|
||||||
|
|
Loading…
Reference in New Issue