File: Makefile

package info (click to toggle)
simhash 0.0.20110213-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 124 kB
  • ctags: 63
  • sloc: ansic: 680; sh: 20; makefile: 18
file content (25 lines) | stat: -rw-r--r-- 481 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright (c) 2005-2007 Bart Massey
# ALL RIGHTS RESERVED
# Please see the file COPYING in this directory for license information.

DESTDIR=/usr/local
BIN=$(DESTDIR)/bin
MAN=$(DESTDIR)/man

CC=gcc
CFLAGS=-g -O4 -Wall -ansi -pedantic
OBJS=simhash.o crc32.o heap.o hash.o

simhash: $(OBJS)
	$(CC) $(CFLAGS) -o simhash $(OBJS) -lm

clean:
	-rm -f $(OBJS) simhash

install: simhash simhash.man
	cp simhash $(BIN)
	cp simhash.man $(MAN)/man1/simhash.1

heap.o: heap.h

crc32.o: crc.h