blob: 776dde26929ae65b3a9439a3b3d175c227b91dc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
CC=gcc
NAME=promisc_check
CFLAGS = -ggdb -Wall -Wmissing-prototypes -Wmissing-declarations \
-Wpointer-arith -O2 -finline-functions -fkeep-inline-functions
OBJ=promisc_check.o
promisc_check: $(OBJ)
$(CC) $(OBJ) -o $(NAME)
install:
mkdir -p $(RPM_BUILD_ROOT)/usr/bin
cp $(NAME) $(RPM_BUILD_ROOT)/usr/bin
|