blob: 36d6edf518168fd72a32dcbfadcb7cd938b4a59b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# WALL =-Wall -Wtraditional -Wshadow -Wid-clash-14 -Wpointer-arith \
# -Wcast-qual -Wcast-align -Wconversion -Waggregate-return \
# -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls \
# -Wnested-externs -Winline
# unproto is yukky
WALL=-Wno-comment
CCFLAGS =-Wall $(WALL) -O2 -fno-strength-reduce
LDFLAGS =-s
export BCCHOME =/usr/bcc
export LIBDIR =$(BCCHOME)/lib/bcc
export BINDIR =/usr/bin
CC =gcc
CFLAGS =$(CCFLAGS)
|