Updated through tag hostap_2_5 from git://w1.fi/hostap.git
[mech_eap.git] / libeap / tests / hwsim / tnc / Makefile
1 CFLAGS += -I$(abspath ../../../src)
2 CFLAGS += -I$(abspath ../../../src/utils)
3
4 ALL=libhostap_imc.so libhostap_imv.so libhostap2_imc.so libhostap2_imv.so
5 all: $(ALL)
6
7 Q=@
8 E=echo
9 ifeq ($(V), 1)
10 Q=
11 E=true
12 endif
13 ifeq ($(QUIET), 1)
14 Q=@
15 E=true
16 endif
17
18 lib%.so: %.c
19         $(Q)$(CC) $(LDFLAGS) -o $@ $(CFLAGS) -shared -rdynamic -fPIC $<
20         @$(E) "  CC " $@
21
22 clean:
23         rm -f $(ALL)