From 3011c0589b8ab7cbfed127ce45a04f154441b406 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 14 Oct 2024 16:31:25 +0200 Subject: httpd: Add a simple http server --- userland/httpd/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 userland/httpd/Makefile (limited to 'userland/httpd/Makefile') diff --git a/userland/httpd/Makefile b/userland/httpd/Makefile new file mode 100644 index 0000000..cc9eb16 --- /dev/null +++ b/userland/httpd/Makefile @@ -0,0 +1,13 @@ +CC="i686-sb-gcc" +CFLAGS = -ggdb -O3 -flto -Wall -Wextra -Werror -Wno-pointer-sign -Wno-int-conversion -static +BINS=httpd +all: $(BINS) + +httpd.o: httpd.c + $(CC) $(CFLAGS) -o $@ -c $< + +httpd: httpd.o + $(CC) $(CFLAGS) -o $@ $^ + +clean: + rm $(BINS) *.o -- cgit v1.2.3