initial commit

This commit is contained in:
Jeremy Baxter 2024-08-07 09:38:16 +12:00
commit a1d36338a1
5 changed files with 274 additions and 0 deletions

20
Makefile Normal file
View file

@ -0,0 +1,20 @@
DC = ldc2
CFLAGS = -Jstatic -Oz
OBJS = httpd.o
all: httpd
httpd: ${OBJS}
${DC} -of=httpd ${OBJS}
.SUFFIXES: .d .o
.d.o:
${DC} ${CFLAGS} -c $<
clean:
rm -f httpd ${OBJS}
$(shell ${DC} -o- -makedeps ${OBJS})
.PHONY: all clean