commit 3bfb538a50924922e5d1a254fa005cbb6db66b53
parent 8dc4ea4dbffb2aa2e0493965dbe25aa208b344cf
Author: Anton Kling <antonkling@protonmail.com>
Date: Fri, 24 Dec 2021 00:12:52 +0100
Changed output file and code file to smol_http* instead of http*.
Fixed a mistake where CC was hardcoded. This was only intended for
testing.
Signed-off-by: Anton Kling <anton@kling.gg>
Diffstat:
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,10 +1,9 @@
CFLAGS=-Wall -pedantic -Werror -Wimplicit-fallthrough
-CC=musl-clang
-http: http.c
+smol_http: smol_http.c
$(CC) $(CFLAGS) $^ -o $@
sudo chown root:root $@
sudo chmod u+s $@
clean:
- rm http
+ rm smol_http
diff --git a/http.c b/smol_http.c