185275228d
Report only fatal errors when building binaries for hwsim testing. Signed-off-by: Jouni Malinen <j@w1.fi>
23 lines
363 B
Makefile
23 lines
363 B
Makefile
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)
|