fragattacks/tests/fuzzing/eap-sim-peer/Makefile
Johannes Berg 00b5e99b65 build: Use the new build system for fuzz tests
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2020-10-11 11:15:16 +03:00

24 lines
529 B
Makefile

ALL=eap-sim-peer
include ../rules.include
CFLAGS += -DIEEE8021X_EAPOL
CFLAGS += -DCONFIG_SIM_SIMULATOR
OBJS += $(SRC)/eap_peer/eap_sim.o
OBJS += $(SRC)/eap_common/eap_sim_common.o
OBJS += $(SRC)/eap_common/eap_common.o
LIBS += $(SRC)/crypto/libcrypto.a
LIBS += $(SRC)/utils/libutils.a
OBJS += eap-sim-peer.o
_OBJS_VAR := OBJS
include ../../../src/objs.mk
eap-sim-peer: $(OBJS) $(LIBS)
$(Q)$(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS)
@$(E) " LD " $@
clean: common-clean
rm -f eap-sim-peer *~ *.o *.d ../*~ ../*.o ../*.d