root / xseg / peers / Makefile @ 4a131321
History | View | Annotate | Download (597 Bytes)
1 |
.PHONY: all clean |
---|---|
2 |
|
3 |
BASE=.. |
4 |
|
5 |
include $(BASE)/config.mk |
6 |
include $(BASE)/base.mk |
7 |
|
8 |
all: blockd filed vlmcd xseg |
9 |
|
10 |
# Please fix this ugly occurence of common.c |
11 |
vlmcd: vlmcd.c common.c $(BASE)/xseg/xseg.h |
12 |
$(CC) $(CFLAGS) -o $@ $< common.c -I$(BASE) -L$(BASE)/lib -lxseg -lpthread |
13 |
|
14 |
filed: filed.c $(BASE)/xseg/xseg.h |
15 |
$(CC) $(CFLAGS) -o $@ $< -I$(BASE) -L$(BASE)/lib -lxseg -lpthread |
16 |
|
17 |
blockd: blockd.c $(BASE)/xseg/xseg.h |
18 |
$(CC) $(CFLAGS) -o $@ $< -I$(BASE) -L$(BASE)/lib -lxseg |
19 |
|
20 |
xseg: xseg-tool.c $(BASE)/xseg/xseg.h |
21 |
$(CC) $(CFLAGS) -o $@ $< -L$(BASE)/lib -lxseg |
22 |
|
23 |
clean: |
24 |
rm -f blockd filed vlmcd xseg |