.
This commit is contained in:
2
.idea/tyche.iml
generated
2
.idea/tyche.iml
generated
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module classpath="External" external.linked.project.id="tyche" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="Makefile" type="CPP_MODULE" version="4" />
|
|
||||||
3
Makefile
3
Makefile
@@ -75,7 +75,8 @@ uninstall:
|
|||||||
#
|
#
|
||||||
# TODO - temporary, using Lua for compilation for now
|
# TODO - temporary, using Lua for compilation for now
|
||||||
#
|
#
|
||||||
LDFLAGS+=-llua -lm
|
CFLAGS+=`pkg-config --cflags lua`
|
||||||
|
LDFLAGS+=`pkg-config --libs lua`
|
||||||
lib/compiler/compiler.lua.h: lib/compiler/compiler.lua
|
lib/compiler/compiler.lua.h: lib/compiler/compiler.lua
|
||||||
luac -o lib/compiler/compiler.out lib/compiler/compiler.lua
|
luac -o lib/compiler/compiler.out lib/compiler/compiler.lua
|
||||||
xxd -i lib/compiler/compiler.out > lib/compiler/compiler.lua.h
|
xxd -i lib/compiler/compiler.out > lib/compiler/compiler.lua.h
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
-Wshadow-all
|
-Wshadow-all
|
||||||
-Wcomma
|
-Wcomma
|
||||||
-Wassign-enum
|
-Wassign-enum
|
||||||
|
-Wno-newline-eof
|
||||||
|
-Wno-unused-command-line-argument
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
static void run_assembly_tests(void);
|
static void run_assembly_tests(void);
|
||||||
static void run_assembly_test(lua_State* L);
|
static void run_assembly_test(lua_State* L);
|
||||||
|
|
||||||
int main()
|
int main(void)
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
printf("## Values\n");
|
printf("## Values\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user