diff options
Diffstat (limited to 'client/Makefile')
-rw-r--r-- | client/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/client/Makefile b/client/Makefile new file mode 100644 index 0000000..ed11db3 --- /dev/null +++ b/client/Makefile @@ -0,0 +1,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) *~ |