blob: b51000edeef32cda8e993760ea71d2f783fec7fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- Makefile.orig Thu May 4 11:10:24 2000
+++ Makefile Sat May 6 15:37:22 2000
@@ -1,6 +1,7 @@
-CC = gcc
+CC ?= gcc
CCFLAGS = -Wall -pthread -ggdb
-CFLAGS = -Wall -O2 -pthread -ggdb -I.
+CFLAGS ?= -O
+CFLAGS += -Wall -pthread -I. -DOSPRINTSCONF=\"${PREFIX}/share/siphon/osprints.conf\"
LIBS = -lpcap
OBJS = parse.o sniff.o main.o log.o
SRCS = ${OBJS:.o=.c}
@@ -9,7 +10,7 @@
all: $(TARGET)
$(TARGET): $(OBJS)
- $(CC) $(CCFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
clean:
rm -f $(OBJS) *~ *.core core siphon
|