aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.in
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-06-11 12:23:36 -0400
committerRob Austein <sra@hactrn.net>2015-06-11 12:23:36 -0400
commitab7d78b06974aa35bf42ad266ef0b72e188d120a (patch)
tree9e2bd29a0087153287e4a849b061e42d8a3b4b15 /tests/Makefile.in
parent5f152f558e7bc8fc8d93ae250bdc61cd60ab5acd (diff)
Build issues on Novena.
Diffstat (limited to 'tests/Makefile.in')
-rw-r--r--tests/Makefile.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 46a3aba..b5801d9 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -33,7 +33,7 @@ BIN = test-aes-key-wrap test-hash test-pbkdf2 test-rsa
CC = @CC@
CFLAGS = @CFLAGS@ -I..
-LDFLAGS = @LDFLAGS@ ${LIB}
+LDFLAGS = @LDFLAGS@
TFMDIR = @TFMDIR@
prefix = @prefix@
@@ -44,10 +44,6 @@ abs_top_builddir= @abs_top_builddir@
all: ${BIN}
-*.o: ${INC}
-
-${BIN}: ${LIB}
-
test: all
for i in ${BIN}; do ./$$i; done
@@ -56,3 +52,9 @@ clean:
distclean: clean
rm -f Makefile
+
+${BIN}: %: %.o ${LIB}
+ ${CC} ${CFLAGS} -o $@ $^ ${LDFLAGS}
+
+%.o: %.c ${INC}
+ ${CC} ${CFLAGS} -c -o $@ $<