1CFLAGS += -I$(abspath ../../../src) 2CFLAGS += -I$(abspath ../../../src/utils) 3 4ALL=libhostap_imc.so libhostap_imv.so libhostap2_imc.so libhostap2_imv.so 5all: $(ALL) 6 7Q=@ 8E=echo 9ifeq ($(V), 1) 10Q= 11E=true 12endif 13ifeq ($(QUIET), 1) 14Q=@ 15E=true 16endif 17 18lib%.so: %.c 19 $(Q)$(CC) $(LDFLAGS) -o $@ $(CFLAGS) -shared -rdynamic -fPIC $< 20 @$(E) " CC " $@ 21 22clean: 23 rm -f $(ALL) 24