mirror of
https://github.com/fangfufu/httpdirfs.git
synced 2024-09-04 18:47:21 +02:00
22 lines
324 B
Makefile
22 lines
324 B
Makefile
CC=gcc
|
|
CFLAGS= -O2 -Wall -Wextra -lgumbo -lcurl -lfuse -lcrypto \
|
|
-D_FILE_OFFSET_BITS=64 -DHTTPDIRFS_INFO
|
|
OBJ = main.o network.o
|
|
|
|
%.o: %.c
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
httpdirfs: $(OBJ)
|
|
$(CC) -o $@ $^ $(CFLAGS)
|
|
|
|
install:
|
|
cp httpdirfs ${HOME}/bin/
|
|
|
|
doc:
|
|
doxygen Doxyfile
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
rm -rf *.o httpdirfs html
|