fixnuta buga v remove_last (nesnizovala grow ptr, ktery tak ubiral znaky a nemenil...
[httpfs.git] / Makefile
blob58e371789a3ffcb8f09bdcfc484545a66b0d6b0f
1 CC=gcc
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
6 urlencode: urlencode.c
7 $(CC) urlencode.c -o urlencode -g -Wall -DMAIN
8 ncp: ncp.c
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
16 httpfs.o: httpfs.c
18 clean:
19 rm *.o httpfs ncp
20 install:
21 cp urlencode httpfs ncp ~/b