summaryrefslogtreecommitdiff
blob: e2b51c1271a2755dd5e129e3686257e4474f3521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- lanmap/src/Makefile.in	2006-03-07 15:44:32.000000000 +0100
+++ lanmap/src/Makefile.in.new	2008-12-02 16:08:13.000000000 +0100
@@ -2,8 +2,8 @@
 # $Id$
 
 # complation
-CFLAGS = -W -Wall -Wno-unused -DLINUX -DLANMAP_DATADIR=$(LANMAP_DATADIR)
-LDFLAGS = -lpcap -lm
+CFLAGS += -DLINUX -DLANMAP_DATADIR=$(LANMAP_DATADIR)
+LDFLAGS += -lpcap -lm
 CFLAGS_DEBUG = -D_DEBUG -ggdb
 LDFLAGS_DEBUG = -pg
 BINARY = lanmap
--- lanmap/Makefile.in	2008-12-03 14:40:22.000000000 +0100
+++ lanmap/Makefile.in.new	2008-12-03 14:40:33.000000000 +0100
@@ -13,7 +13,7 @@
 	cd ./src && make LANMAP_DATADIR="$(DATADEST)"
 
 install:
-	install -m 0755 ./src/$(BINARY) $(BINDEST)
+	install -m 0755 -D ./src/$(BINARY) $(BINDEST)/$(BINARY)
 	install -m 0755 -d $(DATADEST)
 	install -m 0755 -d $(DATADEST)data/
 	install -m 0755 -d $(DATADEST)data/graph/