X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=Makefile;h=c2a0ba66fdb62d94ab77c8c75ca851008ac50d71;hb=6070beaa128d62e299db8b5d4e94f91e244bad4c;hp=8103f1464ba42d2544210b150ffe3b6cbdd96e13;hpb=686b0ecec01ceef8f7fdceff8304e8a696d9e130;p=rrq%2Ffusefile.git diff --git a/Makefile b/Makefile index 8103f14..c2a0ba6 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,11 @@ BINS = fusefile default: $(BINS) -fusefile: CFLAGS = -Wall -D_FILE_OFFSET_BITS=64 +ifneq (${DEBUG},) +fusefile: CFLAGS += -DDEBUG=1 -g +endif + +fusefile: CFLAGS += -Wall -D_FILE_OFFSET_BITS=64 fusefile: LDFLAGS = -lfuse -pthread .INTERMEDIATE: fusefile.o @@ -14,6 +18,9 @@ fusefile: fusefile.o clean: rm -f $(BINS) +README.html: README.adoc + asciidoctor $< > $@ + # Building a debian package SBINDIR = $(DESTDIR)/usr/sbin