blob: 515e73777f9675e4a1e0f78396fda74c8317fb8b (
plain) (
blame)
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
26
27
28
29
30
31
32
|
.POSIX:
CONFIGFILE = config.mk
include $(CONFIGFILE)
all: test
test.o: binary-multisearch.h
.c.o:
$(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
.o:
$(CC) -o $@ $< $(LDFLAGS)
check: test
./test
install:
mkdir -p -- "$(DESTDIR)$(PREFIX)/include"
cp -- binary-multisearch.h "$(DESTDIR)$(PREFIX)/include"
uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/include/binary-multisearch.h"
clean:
-rm -f -- *.o *.su test
.SUFFIXES:
.SUFFIXES: .o .c
.PHONY: all check install uninstall clean
|