repo.or.cz
/
actl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
convert kmeans_incr threshold
[actl.git]
/
app-l3_lb
/
Makefile.gnu
blob
2ec3ee9ed502de2d2c7f8a23ae32343b8fedffc4
1
CFLAGS+= -Wall -I. -I.. -fPIC
2
LDFLAGS+= -shared -Wl,-E
3
LDLIBS+= -lbsd -lm -lhashtab
4
SRCS=$(wildcard *.c)
5
OBJS=$(patsubst %.c, %.o, $(SRCS))
6
%.o: %.c
7
$(CC) -o $@ -c $< $(CFLAGS)
8
all: $(OBJS)
9
$(CC) $(LDFLAGS) -o l3_lb.so $(OBJS) $(LDLIBS)
10
install: l3_lb.so
11
install -m 0644 l3_lb.so /usr/lib/
12
clean:
13
rm -f *.o *.so