diff options
author | Anton Kling <anton@kling.gg> | 2024-10-14 16:31:25 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-10-14 16:31:25 +0200 |
commit | 3011c0589b8ab7cbfed127ce45a04f154441b406 (patch) | |
tree | 80167447952ccc80a8d6a5ec556dd3255cb50196 /userland/httpd/Makefile | |
parent | a67d4744d78fc58846f29667ae49cee70fa0bf16 (diff) |
httpd: Add a simple http server
Diffstat (limited to 'userland/httpd/Makefile')
-rw-r--r-- | userland/httpd/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
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 |