blob: 5736f458a08f865e344eed94565882786646343e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- 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
|