]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/wpa/src/lib.rules
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.git] / contrib / wpa / 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 CFLAGS += -I.. -I../utils
10
11
12 Q=@
13 E=echo
14 ifeq ($(V), 1)
15 Q=
16 E=true
17 endif
18
19 %.o: %.c
20         $(Q)$(CC) -c -o $@ $(CFLAGS) $<
21         @$(E) "  CC " $<