aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 4741e6ab354737a8e5d90fa6bbc1f3e288ffd891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC = gcc

CFLAGS := -Wall -W -g 
LDLIBS := -lpthread -ldl -rdynamic

PKGCONFIG := env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config
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 -D_REENTRANT

sshfs: sshfs.o 

clean:
	rm -f *.o sshfs