aboutsummaryrefslogtreecommitdiffstats
path: root/src/promisc_check/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/promisc_check/Makefile')
-rw-r--r--src/promisc_check/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/promisc_check/Makefile b/src/promisc_check/Makefile
new file mode 100644
index 0000000..b7bb4e9
--- /dev/null
+++ b/src/promisc_check/Makefile
@@ -0,0 +1,13 @@
+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:
+ cp $(NAME) /usr/bin