File: Makefile

package info (click to toggle)
simhash 0.0.20090101-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 92 kB
  • ctags: 61
  • sloc: ansic: 540; makefile: 17; sh: 12
file content (22 lines) | stat: -rw-r--r-- 392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright (c) 2005-2007 Bart Massey
# ALL RIGHTS RESERVED
# Please see the file COPYING in this directory for license information.

BIN=$(DESTDIR)usr/bin

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

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

clean:
	-rm -f $(OBJS) simhash

install: simhash
	cp simhash $(BIN)

heap.o: heap.h

crc32.o: crc.h