blob: 8c87e0740729ace5efe7aaaab996ad77c652ff31 (
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 -m486 -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
|