commit 6f8c9c1f66aab6ea50f00c2cb7c5808e08579ee3
parent 6f1eef61eec588d2f0cb2ae4e9b75fb6f3fb69f9
Author: Francesco Saccone <francesco@francescosaccone.com>
Date: Tue, 1 Apr 2025 13:46:48 +0200
build: add 'all' target
Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -4,6 +4,8 @@ include config.mk
SOURCES = main.c socket.c http.c utils.c file.c
+all: hermes
+
hermes: $(SOURCES:.c=.o)
$(CC) $(CFLAGS) -o $@ $^
@@ -13,4 +15,4 @@ hermes: $(SOURCES:.c=.o)
clean:
rm -f hermes *.o
-.PHONY: clean
+.PHONY: all clean