--- 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