blob: 64ba0cac6242fa89a70f0d9e68b04402ae585eb2 [file] [log] [blame]
CFLAGS += -I$(abspath ../../../src)
CFLAGS += -I$(abspath ../../../src/utils)
ALL=libhostap_imc.so libhostap_imv.so libhostap2_imc.so libhostap2_imv.so
all: $(ALL)
Q=@
E=echo
ifeq ($(V), 1)
Q=
E=true
endif
ifeq ($(QUIET), 1)
Q=@
E=true
endif
lib%.so: %.c
$(Q)$(CC) $(LDFLAGS) -o $@ $(CFLAGS) -shared -rdynamic -fPIC $<
@$(E) " CC " $@
clean:
rm -f $(ALL)