]> git.ipfire.org Git - thirdparty/hostap.git/blob - src/lib.rules
tests: Fix ap_ft_reassoc_replay for case where wlantest has the PSK
[thirdparty/hostap.git] / src / lib.rules
1 ifndef CC
2 CC=gcc
3 endif
4
5 ifndef CFLAGS
6 CFLAGS = -MMD -O2 -Wall -g
7 endif
8
9 ifdef TEST_FUZZ
10 CFLAGS += -DCONFIG_NO_RANDOM_POOL
11 CFLAGS += -DTEST_FUZZ
12 endif
13
14 CFLAGS += $(FUZZ_CFLAGS)
15 CFLAGS += -I.. -I../utils
16
17
18 Q=@
19 E=echo
20 ifeq ($(V), 1)
21 Q=
22 E=true
23 endif
24 ifeq ($(QUIET), 1)
25 Q=@
26 E=true
27 endif
28
29 %.o: %.c
30 $(Q)$(CC) -c -o $@ $(CFLAGS) $<
31 @$(E) " CC " $<