From 9f3e3974759b4a13cfd68becf52a1083f71de793 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Tue, 6 Jan 2009 22:05:15 +0000 Subject: [PATCH] add osflags for tests --- tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index dacdc00..79f51f0 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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"` CHECK_PATH = /usr/local -LDFLAGS += -L${CHECK_PATH}/lib -lcheck -CFLAGS += -g -Wall -D$(OS) -I../src -I${CHECK_PATH}/include -pedantic +LDFLAGS = -L$(CHECK_PATH)/lib -lcheck `../src/osflags link` +CFLAGS = -g -Wall -D$(OS) -I../src -I$(CHECK_PATH)/include -pedantic `../src/osflags cflags` all: $(TEST) @LD_LIBRARY_PATH=${CHECK_PATH}/lib ./$(TEST)