From fc170be8c694a597796cf3bfb132c04621366f31 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 12 Nov 2004 22:54:02 +0000 Subject: importing sources --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c2394d1 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +CC = gcc + +CFLAGS := -Wall -W -g +LDLIBS := -lpthread -ldl -rdynamic + +PKGCONFIG := env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config +FUSEVER := $(shell $(PKGCONFIG) --modversion fuse 2> /dev/null) +ifeq ($(FUSEVER),) + LDLIBS += -lfuse +else + CFLAGS += $(shell $(PKGCONFIG) --cflags fuse) + LDLIBS += $(shell $(PKGCONFIG) --libs fuse) +endif + +CPPFLAGS := -D_FILE_OFFSET_BITS=64 +#CPPFLAGS += -DDEBUG + +sshfs: sshfs.o + +clean: + rm -f *.o sshfs -- cgit v1.2.3