]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Use simpler make rules for test programs
authorJouni Malinen <j@w1.fi>
Sat, 5 Dec 2009 20:14:55 +0000 (22:14 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 5 Dec 2009 20:14:55 +0000 (22:14 +0200)
tests/Makefile

index 381998ee2643b24edc76ebc00f7317a62c2a244b..1665a565e83d518a03a7b306b80a7a26553b4e42 100644 (file)
@@ -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)