s3fs-fuse/s3fs/Makefile
mooredan@suncup.net b578777851 made the Makefile to be more "make-like", instead
of compiling unconditionally at every invocation of
make - actually look at the dependancy


git-svn-id: http://s3fs.googlecode.com/svn/trunk@199 df820570-a93a-0410-bd06-b72b767a4274
2010-10-18 22:22:57 +00:00

14 lines
337 B
Makefile

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: all
tar -cvzf s3fs.tar.gz -C .. s3fs/COPYING s3fs/Makefile s3fs/s3fs.cpp
clean:
rm -f s3fs s3fs.o