blob: 31de620d9150a5b4fad6095cc1444f58c0588ba5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- Makefile.orig 1998-08-13 17:17:57.000000000 +0900
+++ Makefile 2012-09-08 03:33:04.000000000 +0900
@@ -1,11 +1,11 @@
# Makefile
-CC=gcc
+CC?=cc
#DEBUG=-g -DDEBUG
# Add -DLINUX if you compile on Linux
# Thanks to Gary Miller <gem@rellim.com>
-CFLAGS=-O2 -Wall
+CFLAGS?=-O -pipe
OBJS=main.o null.o ether.o ip.o
LIBS= -lpcap
SRC=$(OBJS:%.o=%.c)
@@ -13,7 +13,7 @@
all: tdetect
tdetect: $(OBJS)
- $(CC) $(OBJS) $(LIBS) $(DEBUG) -s -o tdetect
+ $(CC) $(OBJS) $(LIBS) $(DEBUG) -o tdetect
clean:
rm -f *.o tdetect *.b
|