Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (25 sloc) 1.025 kb
CXX=g++
PREFIX=/usr/local
F_VERSION=$(shell git log -n1 --date=short --format="%cd (commit=%h)" 2>/dev/null || echo "[unknown version - compile from git]")
CFLAGS=-D_FILE_OFFSET_BITS=64 -Wall -O2 -DFOLVE_VERSION='"$(F_VERSION)"'
CXXFLAGS=$(CFLAGS)
LDFLAGS=-lfuse -lsndfile -lzita-convolver -lmicrohttpd -lfftw3f -lpthread
ifdef LINK_STATIC
# static linking requires us to be much more explicit when linking
LDFLAGS+=-lFLAC -lvorbisenc -lvorbis -logg -lstdc++ -lm -lrt -ldl
LD_STATIC=-static
endif
OBJECTS = folve-main.o folve-filesystem.o conversion-buffer.o \
processor-pool.o buffer-thread.o \
pass-through-handler.o convolve-file-handler.o \
sound-processor.o file-handler-cache.o status-server.o util.o \
zita-audiofile.o zita-config.o zita-fconfig.o zita-sstring.o
folve: $(OBJECTS)
$(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS) $(LD_STATIC)
install: folve
install folve $(PREFIX)/bin
clean:
rm -f folve $(OBJECTS)
html : README.html INSTALL.html
%.html : %.md
markdown < $^ > $@
Jump to Line
Something went wrong with that request. Please try again.