diff options
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 |