fragattacks/tests/fuzzing/sae/Makefile
Jouni Malinen de3f8d9fd1 tests: Fix new fuzzer builds
$(LIBS) got included twice into the linker command line from $^ and
$(LIBS). The former ended up getting converted based on host CPU rather
than target. Fix that by removing duplication and -lcrypto from $(LIBS).

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-04-22 00:51:13 +03:00

24 lines
495 B
Makefile

all: sae
include ../rules.include
CFLAGS += -DCONFIG_SHA256
CFLAGS += -DCONFIG_ECC
LIBS += $(SRC)/common/libcommon.a
LIBS += $(SRC)/utils/libutils.a
OBJS += $(SRC)/crypto/crypto_openssl.o
OBJS += $(SRC)/crypto/dh_groups.o
OBJS += $(SRC)/crypto/sha256-prf.o
OBJS += $(SRC)/crypto/sha256-kdf.o
OBJS += $(SRC)/common/dragonfly.o
sae: sae.o $(OBJS) $(LIBS)
$(LDO) $(LDFLAGS) -o $@ $^ -lcrypto
clean:
$(MAKE) -C $(SRC) clean
rm -f sae *~ *.o *.d ../*~ ../*.o ../*.d
-include $(OBJS:%.o=%.d)