mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-02-13 15:58:39 +00:00
dbd990842b
git-svn-id: http://s3fs.googlecode.com/svn/trunk@206 df820570-a93a-0410-bd06-b72b767a4274
18 lines
460 B
Makefile
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
|