diff --git a/.idea/tyche.iml b/.idea/tyche.iml deleted file mode 100644 index 9f4c130..0000000 --- a/.idea/tyche.iml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/Makefile b/Makefile index 5205cb3..431fcac 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,8 @@ uninstall: # # 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 luac -o lib/compiler/compiler.out lib/compiler/compiler.lua xxd -i lib/compiler/compiler.out > lib/compiler/compiler.lua.h diff --git a/config/WARNINGS_CLANG b/config/WARNINGS_CLANG index 3c0cf8b..364350a 100644 --- a/config/WARNINGS_CLANG +++ b/config/WARNINGS_CLANG @@ -1,3 +1,5 @@ -Wshadow-all -Wcomma --Wassign-enum \ No newline at end of file +-Wassign-enum +-Wno-newline-eof +-Wno-unused-command-line-argument \ No newline at end of file diff --git a/test/tests.c b/test/tests.c index 529c281..cb1d8ee 100644 --- a/test/tests.c +++ b/test/tests.c @@ -15,7 +15,7 @@ static void run_assembly_tests(void); static void run_assembly_test(lua_State* L); -int main() +int main(void) { { printf("## Values\n");