hermes

HTTP GET/HEAD-only web server for static content.
git clone https://git.francescosaccone.com/hermes
Log | Files | Refs | README | LICENSE

commit b7682199d40327f044982c5384fa35eb462e1580
parent 4895e46f324feebac64a430a74f0b9631239133e
Author: Francesco Saccone <francesco@francescosaccone.com>
Date:   Tue,  1 Apr 2025 14:31:32 +0200

chore: add 'options' target

Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>

Diffstat:
MMakefile | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -6,6 +6,12 @@ SOURCES = main.c socket.c http.c utils.c file.c all: hermes +options: + @echo "CC = ${CC}" + @echo "CFLAGS = ${CFLAGS}" + @echo "PREFIX = ${PREFIX}" + @echo "MANPREFIX = ${MANPREFIX}" + hermes: $(SOURCES:.c=.o) $(CC) $(CFLAGS) -o $@ $^ @@ -27,4 +33,4 @@ uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/hermes rm -f $(DESTDIR)$(PREFIX)/man1/hermes.1 -.PHONY: all clean install uninstall +.PHONY: all options clean install uninstall