projects
/
rrq
/
fusefile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix index oob in -dump function.
[rrq/fusefile.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 8103f1464ba42d2544210b150ffe3b6cbdd96e13..9f02adc50fd480aeecf75e2a9783c8b3a9c32fb1 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,7
+2,11
@@
BINS = fusefile
default: $(BINS)
default: $(BINS)
-fusefile: CFLAGS = -Wall -D_FILE_OFFSET_BITS=64
+ifneq (${DEBUG},)
+${BINS}: CFLAGS += -DDEBUG=1 -g
+endif
+
+${BINS}: CFLAGS += -Wall -D_FILE_OFFSET_BITS=64
fusefile: LDFLAGS = -lfuse -pthread
.INTERMEDIATE: fusefile.o
fusefile: LDFLAGS = -lfuse -pthread
.INTERMEDIATE: fusefile.o
@@
-14,12
+18,15
@@
fusefile: fusefile.o
clean:
rm -f $(BINS)
clean:
rm -f $(BINS)
+README.html: README.adoc
+ asciidoctor $< > $@
+
# Building a debian package
SBINDIR = $(DESTDIR)/usr/sbin
MAN8DIR = $(DESTDIR)/usr/share/man/man8
# Building a debian package
SBINDIR = $(DESTDIR)/usr/sbin
MAN8DIR = $(DESTDIR)/usr/share/man/man8
-SBINFILES = fusefile
+SBINFILES = fusefile
fusedisk
MAN8FILES = fusefile.8
INSTALLTARGETS = $(addprefix $(SBINDIR)/,$(SBINFILES))
MAN8FILES = fusefile.8
INSTALLTARGETS = $(addprefix $(SBINDIR)/,$(SBINFILES))