mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
make the build process quieter to see warnings
This commit is contained in:
parent
2c1df9bd90
commit
b2840aafaf
@ -615,6 +615,17 @@ ALL=hostapd hostapd_cli
|
|||||||
|
|
||||||
all: verify_config $(ALL)
|
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:
|
verify_config:
|
||||||
@if [ ! -r .config ]; then \
|
@if [ ! -r .config ]; then \
|
||||||
echo 'Building hostapd requires a configuration file'; \
|
echo 'Building hostapd requires a configuration 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 $< \
|
$(CC) -o $@ $(CFLAGS) -shared -rdynamic -fPIC $< \
|
||||||
-D$(*F:eap_%=eap_peer_%)_register=eap_peer_method_dynamic_init
|
-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
|
wpa_supplicant.exe: wpa_supplicant
|
||||||
mv -f $< $@
|
mv -f $< $@
|
||||||
|
Loading…
Reference in New Issue
Block a user