Compare commits
2 Commits
d29dff57c4
...
41f8f8f815
| Author | SHA1 | Date | |
|---|---|---|---|
| 41f8f8f815 | |||
| a8bb1a648e |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,7 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
!/src
|
!/src
|
||||||
!/lib
|
!/lib
|
||||||
/!decl
|
!/decl
|
||||||
|
!/deps
|
||||||
|
|
||||||
!/.editorconfig
|
!/.editorconfig
|
||||||
!/.gitignore
|
!/.gitignore
|
||||||
|
|||||||
10
Makefile
10
Makefile
@@ -1,5 +1,5 @@
|
|||||||
# Generated by mklua
|
# Generated by mklua
|
||||||
MKLUA ?= mklua
|
MKLUA ?= ./deps/mklua/mklua
|
||||||
CC ?= cc
|
CC ?= cc
|
||||||
OUTPUT ?= website
|
OUTPUT ?= website
|
||||||
|
|
||||||
@@ -36,6 +36,7 @@ all: $(OUTPUT)
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -fr $(BINDIR) $(MKLUA_OUT) deps/luv
|
rm -fr $(BINDIR) $(MKLUA_OUT) deps/luv
|
||||||
|
rm -fr deps/mklua
|
||||||
|
|
||||||
compile_flags.txt:
|
compile_flags.txt:
|
||||||
printf -- '$(foreach v,$(CCARGS) $(LDARGS),\n$v)' > 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))
|
$(OUTPUT): $(LIBS) $(MKLUA_OUT) $(SOURCES) | $(dir $(OUTPUT))
|
||||||
$(CC) $(CCARGS) $(LDARGS) $^ -o $@
|
$(CC) $(CCARGS) $(LDARGS) $^ -o $@
|
||||||
|
|
||||||
$(MKLUA_OUT): $(DEPS) | $(dir $(MKLUA_OUT))
|
$(MKLUA_OUT): $(DEPS) | $(dir $(MKLUA_OUT)) $(MKLUA)
|
||||||
$(MKLUA) $(MKLUA_FLAGS) $(MKLUA_ENTRY) -o $@
|
$(MKLUA) $(MKLUA_FLAGS) $(MKLUA_ENTRY) -o $@
|
||||||
|
|
||||||
|
deps/mklua/mklua:
|
||||||
|
|
||||||
|
$(MKLUA):
|
||||||
|
git submodule update --init deps/mklua
|
||||||
|
make -C deps/mklua
|
||||||
%/:
|
%/:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|||||||
4090
decl/luv.d.lua
Normal file
4090
decl/luv.d.lua
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user