diff --git a/.gitignore b/.gitignore index c07af9f..60d1f51 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -michelson -/raylib +/raylib_ignore diff --git a/Makefile b/Makefile index 6602f3f..4ee59f4 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ run: ./michelson web: main.c - mkdir -p web && emcc -o web/index.html main.c -Os -Wall -std=c99 -DPLATFORM_WEB -s USE_GLFW=3 -s ALLOW_MEMORY_GROWTH=1 -I. --shell-file minshell.html --preload-file glsl/michelson_web.frag libraylib.web.a + mkdir -p web && emcc -o web/index.html main.c -Os -Wall -std=c99 -DPLATFORM_WEB -s USE_GLFW=3 -s ALLOW_MEMORY_GROWTH=1 -I. --shell-file minshell.html --preload-file glsl/michelson_web.frag raylib/libraylib.web.a webrun: cd web && python -m http.server 8000 && cd .. diff --git a/main.c b/main.c index 8110441..5dd97f4 100644 --- a/main.c +++ b/main.c @@ -1,7 +1,7 @@ -#include "raylib.h" +#include "raylib/raylib.h" #include #define RAYGUI_IMPLEMENTATION -#include "raygui.h" +#include "raylib/raygui.h" #if defined(PLATFORM_WEB) #include #endif diff --git a/michelson b/michelson new file mode 100755 index 0000000..aea80b8 Binary files /dev/null and b/michelson differ diff --git a/libraylib.web.a b/raylib/libraylib.web.a similarity index 100% rename from libraylib.web.a rename to raylib/libraylib.web.a diff --git a/raygui.h b/raylib/raygui.h similarity index 100% rename from raygui.h rename to raylib/raygui.h diff --git a/raylib.h b/raylib/raylib.h similarity index 100% rename from raylib.h rename to raylib/raylib.h