mirror of
https://github.com/fangfufu/httpdirfs.git
synced 2024-09-30 22:21:15 +02:00
15 lines
215 B
Makefile
15 lines
215 B
Makefile
CC=gcc
|
|
CFLAGS= -Wall -Wextra -lgumbo -lcurl -g
|
|
OBJ = main.o network.o test.o
|
|
|
|
%.o: %.c
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
mount-http-dir: $(OBJ)
|
|
$(CC) -o $@ $^ $(CFLAGS)
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
rm -f *.o mount-http-dir
|