21 lines
659 B
Org Mode
21 lines
659 B
Org Mode
|
|
#+begin_src shell
|
|
gcc -lecl ecl_test.c -o test-game libtest-game.a
|
|
#+end_src
|
|
|
|
#+begin_src lisp
|
|
(uiop:getcwd)
|
|
(uiop:chdir "Development/tinyswords/")
|
|
(compile-file "game.lisp" :system-p t)
|
|
(c:build-static-library "test-game" :lisp-files '("game.o") :init-name "game")
|
|
#+end_src
|
|
|
|
#+begin_src shell
|
|
emcc -o ecl_test.html ecl_test.c -Os -Wall USE_GLFW=3 --shell-file ~/Repositories/raylib/src/minshell.html -DPLATFORM_WEB
|
|
|
|
emcc -lecl -o ecl_test.html ecl_test.c -Os -Wall --shell-file ~/Repositories/raylib/src/minshell.html -DPLATFORM_WEB
|
|
|
|
emcc -I -o why.html ecl_test.c -Os -Wall --shell-file ~/Repositories/raylib/src/minshell.html -DPLATFORM_WEB
|
|
#+end_src
|
|
|