s3fs-fuse/s3fs/Makefile
mooredan@suncup.net dbd990842b Corrected omission of word source in the dist target
git-svn-id: http://s3fs.googlecode.com/svn/trunk@206 df820570-a93a-0410-bd06-b72b767a4274
2010-10-19 15:30:04 +00:00

18 lines
460 B
Makefile

svnrev = $(shell svn log -q -l 1 | grep -e '^r[0-9]' | head -n 1 | awk '{print $$1}')
all: s3fs
s3fs : s3fs.cpp
g++ -ggdb -Wall $(shell pkg-config fuse --cflags --libs) $(shell pkg-config libcurl --cflags --libs) $(shell xml2-config --cflags --libs) -lcrypto s3fs.cpp -o s3fs
install: all
cp -f s3fs /usr/bin
dist:
tar -cvzf s3fs-$(svnrev)-source.tar.gz -C .. s3fs/COPYING s3fs/Makefile s3fs/s3fs.cpp
clean:
rm -f s3fs s3fs.o
rm -f s3fs-r*.tar.gz