mirror of
https://github.com/fangfufu/httpdirfs.git
synced 2024-09-04 10:37:30 +02:00
22 lines
311 B
Makefile
22 lines
311 B
Makefile
CC=gcc
|
|
CFLAGS= -g -O2 -Wall -Wextra -lgumbo -lcurl -lfuse -lcrypto \
|
|
-D_FILE_OFFSET_BITS=64
|
|
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
|