summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 02711c9..a05c6cd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
tux:
@mkdir -p output/tux
- zig cc -target native main.c -o output/tux/game -lGL -lm -lpthread -ldl -lrt -lX11 -Idependecy/raylib/src lib/tux/libraylib.a && ./output/tux/game
+ zig cc -target native src/main.c -o output/tux/game -lGL -lm -lpthread -ldl -lrt -lX11 -Idependency/raylib/src lib/tux/libraylib.a && ./output/tux/game
web:
@mkdir -p output/web
- emcc -Os -Wall main.c -o game -Idependency/raylib/src lib/web/libraylib.a -o output/web/index.html -s USE_GLFW=3 -DPLATFORM_WEB --shell-file dependency/raylib/src/minshell.html -s TOTAL_MEMORY=268435456 -s ASYNCIFY --preload-file ./assets
+ emcc -Os -Wall src/main.c -o game -Idependency/raylib/src lib/web/libraylib.a -o output/web/index.html -s USE_GLFW=3 -DPLATFORM_WEB --shell-file dependency/raylib/src/minshell.html -s TOTAL_MEMORY=268435456 -s ASYNCIFY --preload-file ./assets