From 5dc1d26e7075a81c284c48f4e751b4b5d811baf3 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 26 Nov 2004 12:17:39 +0000 Subject: optimizations --- Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c2394d1..4741e6a 100644 --- a/Makefile +++ b/Makefile @@ -4,16 +4,12 @@ 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 +CFLAGS += $(shell $(PKGCONFIG) --cflags fuse) +LDLIBS += $(shell $(PKGCONFIG) --libs fuse) +CFLAGS += $(shell $(PKGCONFIG) --cflags glib-2.0) +LDLIBS += $(shell $(PKGCONFIG) --libs glib-2.0) -CPPFLAGS := -D_FILE_OFFSET_BITS=64 -#CPPFLAGS += -DDEBUG +CPPFLAGS := -D_FILE_OFFSET_BITS=64 -D_REENTRANT sshfs: sshfs.o -- cgit v1.2.3