2014-05-16 23:47:37 +02:00
|
|
|
CFLAGS += -I$(abspath ../../../src)
|
|
|
|
CFLAGS += -I$(abspath ../../../src/utils)
|
|
|
|
|
|
|
|
ALL=libhostap_imc.so libhostap_imv.so libhostap2_imc.so libhostap2_imv.so
|
|
|
|
all: $(ALL)
|
|
|
|
|
2014-12-26 11:49:36 +01:00
|
|
|
Q=@
|
|
|
|
E=echo
|
|
|
|
ifeq ($(V), 1)
|
|
|
|
Q=
|
|
|
|
E=true
|
|
|
|
endif
|
|
|
|
ifeq ($(QUIET), 1)
|
|
|
|
Q=@
|
|
|
|
E=true
|
|
|
|
endif
|
|
|
|
|
2014-05-16 23:47:37 +02:00
|
|
|
lib%.so: %.c
|
2014-12-26 11:49:36 +01:00
|
|
|
$(Q)$(CC) $(LDFLAGS) -o $@ $(CFLAGS) -shared -rdynamic -fPIC $<
|
|
|
|
@$(E) " CC " $@
|
2014-05-16 23:47:37 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(ALL)
|