summaryrefslogtreecommitdiff
blob: 0a5a39b21489cc618f44cb5481731c981705c4cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.orig	2008-06-17 19:23:19.000000000 +0200
+++ Makefile	2010-10-19 16:23:35.000000000 +0200
@@ -12,7 +12,6 @@
 CPPFLAGS=-I/usr/include/pcap
 LIBS=-lpcap
 CFLAGS := -Wall $(CFLAGS)
-CC=gcc 
 
 ifndef PREFIX
 PREFIX=/usr
@@ -49,8 +48,7 @@
 all: 	$(BIN)
 
 $(BIN):	$(OBJ_C)
-	$(CC) -o $(BIN) $(OBJ_C) $(LIBS) $(CFLAGS)
-	strip $(BIN)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $(BIN) $(OBJ_C) $(LIBS)
 
 install-strip:	install