22 lines
511 B
Makefile
22 lines
511 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
|
||
|
|
||
|
eap-sim-peer: eap-sim-peer.o $(OBJS) $(LIBS)
|
||
|
$(Q)$(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS)
|
||
|
@$(E) " LD " $@
|
||
|
|
||
|
clean:
|
||
|
$(MAKE) -C $(SRC) clean
|
||
|
rm -f eap-sim-peer *~ *.o *.d ../*~ ../*.o ../*.d
|
||
|
|
||
|
-include $(OBJS:%.o=%.d)
|