blob: a41d6da6fe6f48a00daeee2f39657ab0ee68b3d1 (
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
|
#
# server/Makefile
#
CPPFLAGS = -I../include
CFLAGS = -Wall -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
VPATH = ../include
APP = dnbd2-server
all: $(APP)
install: $(APP)
cp $(APP) /usr/local/sbin
dnbd2-server: main.o config.o query.o tree.o file.o
$(CC) -o $@ $^
main.o: config.h query.h tree.h file.h dnbd2.h
config.o: config.h tree.h file.h dnbd2.h
query.o: query.h tree.h file.h dnbd2.h
tree.o: tree.h dnbd2.h
file.o: file.h
.PHONY:
clean:
$(RM) *.o *~ $(APP)
|