26 lines
660 B
Makefile
26 lines
660 B
Makefile
|
all: tls-client
|
||
|
include ../rules.include
|
||
|
|
||
|
LIBS += $(SRC)/common/libcommon.a
|
||
|
LIBS += $(SRC)/crypto/libcrypto.a
|
||
|
LIBS += $(SRC)/tls/libtls.a
|
||
|
LIBS += $(SRC)/rsn_supp/librsn_supp.a
|
||
|
LIBS += $(SRC)/eapol_supp/libeapol_supp.a
|
||
|
LIBS += $(SRC)/eap_peer/libeap_peer.a
|
||
|
LIBS += $(SRC)/eap_common/libeap_common.a
|
||
|
LIBS += $(SRC)/l2_packet/libl2_packet.a
|
||
|
LIBS += $(SRC)/utils/libutils.a
|
||
|
|
||
|
ELIBS += $(SRC)/crypto/libcrypto.a
|
||
|
ELIBS += $(SRC)/tls/libtls.a
|
||
|
|
||
|
tls-client: tls-client.o $(OBJS) $(LIBS)
|
||
|
$(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS)
|
||
|
|
||
|
clean:
|
||
|
$(MAKE) -C $(SRC) clean
|
||
|
$(MAKE) -C $(WPAS_SRC) clean
|
||
|
rm -f tls-client *~ *.o *.d ../*~ ../*.o ../*.d
|
||
|
|
||
|
-include $(OBJS:%.o=%.d)
|