File: Makefile

package info (click to toggle)
snoopy 1.3-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 104 kB
  • ctags: 16
  • sloc: ansic: 92; sh: 59; makefile: 57
file content (18 lines) | stat: -rw-r--r-- 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Makefile for snoopy
# $Id: Makefile,v 1.3 2000/12/10 08:50:49 marius Exp $

CC = gcc
LIBS  = -ldl
DESTDIR = 

all: snoopy.so detect

snoopy.so:  snoopy.c snoopy.h
			$(CC) -shared -O3 -fPIC -fomit-frame-pointer snoopy.c -osnoopy.so $(LIBS)
detect: detect.c
			$(CC) detect.c -odetect $(LIBS)
install: all
			install -m 755 snoopy.so $(DESTDIR)/lib/snoopy.so;
#			./install.sh
clean:
			rm detect snoopy.so || true