Parent Directory
|
Revision Log
feat(freehttpd): file serving and directory indexing
1 | rakinar2 | 44 | SOURCES = $(wildcard *.c) |
2 | rakinar2 | 45 | HEADERS = $(wildcard *.h) |
3 | rakinar2 | 44 | OBJECTS = $(SOURCES:.c=.o) |
4 | BIN = freehttpd | ||
5 | rakinar2 | 45 | CFLAGS = -g -O2 -Wall -Wextra -Werror -std=c23 -pedantic -pedantic-errors -pthread -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE |
6 | rakinar2 | 44 | LDFLAGS = -pthread |
7 | rakinar2 | 45 | LDLIBS = -lmagic |
8 | rakinar2 | 44 | CC = gcc |
9 | |||
10 | all: $(BIN) | ||
11 | |||
12 | rakinar2 | 45 | $(BIN): $(OBJECTS) $(HEADERS) |
13 | rakinar2 | 44 | |
14 | rakinar2 | 45 | $(HEADERS): $(SOURCES) |
15 | |||
16 | rakinar2 | 44 | clean: |
17 | rm -f $(BIN) $(OBJECTS) |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |