commit 4f942da614ea77faf2ad016f975ee7d81d2075e9
parent 3bc7e805ee00e6550ba3a27c51f329fd7181ab87
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