-*- mode: org -*-
Tomegus is a simple rogue-like game written following Coding a Classic Roguelike in C - YouTube series.
guix time-machine --channels=channels.scm \
-- shell --development --file=guix.scm \
-- sh -c 'set -e; autoreconf -vfi; ./configure CFLAGS="-O0 -g -Wall -Werror" LIBS="-lm"; make'
src/tomegus
guix environment --root=guix-tomegus --pure --load=guix.scm --ad-hoc strace gdb coreutils findutils grep
autoreconf -vfi
./configure CFLAGS="-O0 -g -Wall -Werror" LIBS="-lm"
guix environment --pure --load=guix.scm -- ./configure LIBS="-lm"
guix environment --pure --load=guix.scm -- make
set environment C_INCLUDE_PATH=/home/natsu/src/tomegus/guix-tomegus/include
(local-set-key "<f5>" #'wi-compile)
(defun wi-compile ()
(interactive)
(switch-to-buffer "*gud*")
(insert "make")
(comint-send-input))