Compare commits

...

2 Commits

Author SHA1 Message Date
41f8f8f815 add mklua as git dep 2025-11-27 14:15:12 +02:00
a8bb1a648e fix gitignore 2025-11-27 14:15:01 +02:00
3 changed files with 4100 additions and 3 deletions

3
.gitignore vendored
View File

@@ -1,7 +1,8 @@
/*
!/src
!/lib
/!decl
!/decl
!/deps
!/.editorconfig
!/.gitignore

View File

@@ -1,5 +1,5 @@
# Generated by mklua
MKLUA ?= mklua
MKLUA ?= ./deps/mklua/mklua
CC ?= cc
OUTPUT ?= website
@@ -36,6 +36,7 @@ all: $(OUTPUT)
clean:
rm -fr $(BINDIR) $(MKLUA_OUT) deps/luv
rm -fr deps/mklua
compile_flags.txt:
printf -- '$(foreach v,$(CCARGS) $(LDARGS),\n$v)' > compile_flags.txt
@@ -43,8 +44,13 @@ compile_flags.txt:
$(OUTPUT): $(LIBS) $(MKLUA_OUT) $(SOURCES) | $(dir $(OUTPUT))
$(CC) $(CCARGS) $(LDARGS) $^ -o $@
$(MKLUA_OUT): $(DEPS) | $(dir $(MKLUA_OUT))
$(MKLUA_OUT): $(DEPS) | $(dir $(MKLUA_OUT)) $(MKLUA)
$(MKLUA) $(MKLUA_FLAGS) $(MKLUA_ENTRY) -o $@
deps/mklua/mklua:
$(MKLUA):
git submodule update --init deps/mklua
make -C deps/mklua
%/:
mkdir -p $@

4090
decl/luv.d.lua Normal file

File diff suppressed because it is too large Load Diff