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 += -I.. -I../utils 15 16 17 Q=@ 18 E=echo 19 ifeq ($(V), 1) 20 Q= 21 E=true 22 endif 23 ifeq ($(QUIET), 1) 24 Q=@ 25 E=true 26 endif 27 28 %.o: %.c 29 $(Q)$(CC) -c -o $@ $(CFLAGS) $< 30 @$(E) " CC " $< 31