summaryrefslogblamecommitdiffstats
path: root/client/Makefile
blob: ed11db34af165990aa0e272d704e08a569b4b2aa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                             
CLIENT_BIN = dnbd-client
CLIENT_SRC = client.c

BINS = $(CLIENT_BIN)

CFLAGS = -Wall -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2

$(CLIENT_BIN): 
	$(CC) $(CFLAGS) -o $@ $(CLIENT_SRC)

all: $(BINS)

.PHONY:
clean:
	-$(RM) *.o $(BINS) *~