Use simpler make rules for test programs
This commit is contained in:
parent
e280cf6693
commit
c7ab5122a7
1 changed files with 4 additions and 9 deletions
|
@ -26,20 +26,15 @@ LIBS = ../src/utils/libutils.a \
|
||||||
../src/crypto/libcrypto.a:
|
../src/crypto/libcrypto.a:
|
||||||
$(MAKE) -C ../src/crypto
|
$(MAKE) -C ../src/crypto
|
||||||
|
|
||||||
BASE64_OBJS=test-base64.o \
|
|
||||||
$(LIBS)
|
|
||||||
|
|
||||||
test-base64: $(BASE64_OBJS)
|
test-base64: test-base64.o $(LIBS)
|
||||||
$(LDO) $(LDFLAGS) -o $@ $(BASE64_OBJS)
|
$(LDO) $(LDFLAGS) -o $@ $^
|
||||||
|
|
||||||
test-md4: test-md4.o $(LIBS)
|
test-md4: test-md4.o $(LIBS)
|
||||||
$(LDO) $(LDFLAGS) -o $@ $^
|
$(LDO) $(LDFLAGS) -o $@ $^
|
||||||
|
|
||||||
MILENAGE_OBJS=test-milenage.o \
|
test-milenage: test-milenage.o $(LIBS)
|
||||||
$(LIBS)
|
$(LDO) $(LDFLAGS) -o $@ $^
|
||||||
|
|
||||||
test-milenage: $(MILENAGE_OBJS)
|
|
||||||
$(LDO) $(LDFLAGS) -o $@ $(MILENAGE_OBJS)
|
|
||||||
|
|
||||||
|
|
||||||
run-tests: $(TESTS)
|
run-tests: $(TESTS)
|
||||||
|
|
Loading…
Reference in a new issue