mirror of
https://github.com/fangfufu/httpdirfs.git
synced 2024-09-04 18:47:21 +02:00
16 lines
266 B
Makefile
16 lines
266 B
Makefile
CC=gcc
|
|
CFLAGS= -g -Wall -Wextra -lgumbo -lcurl -lfuse -D_FILE_OFFSET_BITS=64 \
|
|
-DHTTPDIRFS_INFO -DHTTPDIRFS_SINGLE
|
|
OBJ = main.o network.o
|
|
|
|
%.o: %.c
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
httpdirfs: $(OBJ)
|
|
$(CC) -o $@ $^ $(CFLAGS)
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
rm -f *.o httpdirfs
|