aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-05 22:14:55 +0200
committerJouni Malinen <j@w1.fi>2009-12-05 22:14:55 +0200
commitc7ab5122a79bd10e8d516f471b65f28106e2a4ee (patch)
treeb3f41c68efa71db06684d062cc9194c2ff02f958 /tests
parente280cf6693928c56f8717ebf53fb0fc30fd439f2 (diff)
downloadexternal_wpa_supplicant_8_ti-c7ab5122a79bd10e8d516f471b65f28106e2a4ee.zip
external_wpa_supplicant_8_ti-c7ab5122a79bd10e8d516f471b65f28106e2a4ee.tar.gz
external_wpa_supplicant_8_ti-c7ab5122a79bd10e8d516f471b65f28106e2a4ee.tar.bz2
Use simpler make rules for test programs
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 381998e..1665a56 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -26,20 +26,15 @@ LIBS = ../src/utils/libutils.a \
../src/crypto/libcrypto.a:
$(MAKE) -C ../src/crypto
-BASE64_OBJS=test-base64.o \
- $(LIBS)
-test-base64: $(BASE64_OBJS)
- $(LDO) $(LDFLAGS) -o $@ $(BASE64_OBJS)
+test-base64: test-base64.o $(LIBS)
+ $(LDO) $(LDFLAGS) -o $@ $^
test-md4: test-md4.o $(LIBS)
$(LDO) $(LDFLAGS) -o $@ $^
-MILENAGE_OBJS=test-milenage.o \
- $(LIBS)
-
-test-milenage: $(MILENAGE_OBJS)
- $(LDO) $(LDFLAGS) -o $@ $(MILENAGE_OBJS)
+test-milenage: test-milenage.o $(LIBS)
+ $(LDO) $(LDFLAGS) -o $@ $^
run-tests: $(TESTS)