--- Makefile.orig	Thu Dec 21 07:53:15 2000
+++ Makefile	Tue Feb  6 22:35:12 2007
@@ -1,15 +1,12 @@
 # Makefile for snoopy
 # $Id: Makefile,v 1.3 2000/12/10 08:50:49 marius Exp $
 
-CC = gcc
-LIBS  = -ldl
-
 all: snoopy.so detect
 
 snoopy.so:  snoopy.c snoopy.h
-			$(CC) -shared -O3 -fomit-frame-pointer snoopy.c -osnoopy.so $(LIBS)
+			$(CC) -shared $(CFLAGS) snoopy.c -osnoopy.so
 detect: detect.c
-			$(CC) detect.c -odetect $(LIBS)
+			$(CC) $(CFLAGS) detect.c -odetect
 install: all 
 			install -m 755 snoopy.so /lib/snoopy.so; \
 			./install.sh
