2 CFLAGS
=-D_REENTRANT
-DFUSE_USE_VERSION
=26 -D_FILE_OFFSET_BITS
=64 -I
/usr
/include/fuse
-I
/usr
/include/glib-2.0
-I
/usr
/lib
/glib-2.0
/include -g
-Wall
-DEBUG
3 LDFLAGS
=-lfuse
-lpthread
-lglib-2.0
-lgthread-2.0
-lcurl
5 all: httpfs ncp
install urlencode
7 $(CC
) urlencode.c
-o urlencode
-g
-Wall
-DMAIN
9 $(CC
) ncp.c
-o ncp
-g
-Wall
10 httpfs
: httpfs.o cache.o urlencode.o fetch.o parser.o canonize.o
11 canonize.o
: canonize.c canonize.h
12 parser.o
: parser.c parser.h
13 urlencode.o
: urlencode.c urlencode.h grow.h
14 fetch.o
: fetch.c fetch.h
15 cache.o
: cache.c cache.h
21 cp urlencode httpfs ncp ~
/b