File: Makefile

package info (click to toggle)
simhash 0.0.20150404-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 148 kB
  • ctags: 68
  • sloc: ansic: 684; makefile: 33; sh: 20
file content (25 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (2)
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) $(LDFLAGS) -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