make the build process quieter to see warnings

This commit is contained in:
Johannes Berg 2009-07-24 02:11:29 +02:00 committed by Jouni Malinen
parent 2c1df9bd90
commit b2840aafaf
2 changed files with 21 additions and 0 deletions

View file

@ -615,6 +615,17 @@ ALL=hostapd hostapd_cli
all: verify_config $(ALL)
Q=@
E=echo
ifeq ($(V), 1)
Q=
E=true
endif
%.o: %.c
$(Q)$(CC) -c -o $@ $(CFLAGS) $<
@$(E) " CC " $<
verify_config:
@if [ ! -r .config ]; then \
echo 'Building hostapd requires a configuration file'; \

View file

@ -1253,6 +1253,16 @@ eap_ikev2.so: ../src/eap_peer/eap_ikev2.c ../src/eap_peer/ikev2.c ../src/eap_com
$(CC) -o $@ $(CFLAGS) -shared -rdynamic -fPIC $< \
-D$(*F:eap_%=eap_peer_%)_register=eap_peer_method_dynamic_init
Q=@
E=echo
ifeq ($(V), 1)
Q=
E=true
endif
%.o: %.c
$(Q)$(CC) -c -o $@ $(CFLAGS) $<
@$(E) " CC " $<
wpa_supplicant.exe: wpa_supplicant
mv -f $< $@