Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (18 sloc) 510 Bytes
CC := g++
DEFS := -D_FILE_OFFSET_BITS=64 -D__DARWIN_64_BIT_INO_T=1 -D__FreeBSD__=10 -DFUSE_USE_VERSION=26
INCS := -I/opt/local/include -I/usr/local/include
LIBS := -L/opt/local/lib \
-lfuse_ino64 \
-lboost_program_options-mt \
-lboost_thread-mt \
-lcurl \
-lkyotocabinet \
CFLAGS := -O2
%.o: %.cpp
$(CC) $(CFLAGS) $(INCS) $(DEFS) -o $@ -c $<
yadfs: main.o yadfs.o update_listener.o utils.o sha256.o network_interface.o
$(CC) -o $@ $^ $(LIBS)
all: yadfs
.PHONY: clean
clean:
rm -f yadfs *.o