<commit_before>all: quicklisp-manifest.txt
	buildapp --manifest-file quicklisp-manifest.txt \
			--load snake.lisp \
			--entry main-entry --output cl-snake
	rm quicklisp-manifest.txt

quicklisp-manifest.txt:
	sbcl --no-userinit --no-sysinit --non-interactive \
				--load ~/quicklisp/setup.lisp \
				--eval '(ql:quickload "sdl2")' \
				--eval '(ql:quickload "cl-opengl")' \
				--eval '(ql:quickload "bordeaux-threads")' \
				--eval '(ql:write-asdf-manifest-file "quicklisp-manifest.txt")'<commit_msg>add WIP win32 compilation target for cl-snake<commit_after>SBCL=sbcl
QUICKLISP=~/quicklisp/setup.lisp
all: quicklisp-manifest.txt
	buildapp --manifest-file quicklisp-manifest.txt \
			--load snake.lisp \
			--entry main-entry --output cl-snake
	rm quicklisp-manifest.txt

quicklisp-manifest.txt:
	$(SBCL) --no-userinit --no-sysinit --non-interactive \
				--load $(QUICKLISP) \
				--eval '(ql:quickload "sdl2")' \
				--eval '(ql:quickload "cl-opengl")' \
				--eval '(ql:quickload "bordeaux-threads")' \
				--eval '(ql:write-asdf-manifest-file "quicklisp-manifest.txt")'

# Well this one ain't really working :/
win32:
	sbcl-win32 --no-userinit --no-sysinit --non-interactive \
				--load 'C:/users/alchemist/.sbclrc' \
				--load snake.lisp \
				--eval '(ql:quickload \"sdl2\")' \
				--eval '(ql:quickload \"cl-opengl\")' \
				--eval '(ql:quickload \"bordeaux-threads\")' \
				--eval '(sb-ext:save-lisp-and-die \"cl-snake.exe\" :toplevel #\'main-loop :executable t)'
{'fraction_non_alphanumeric': 0.18931710615280595, 'fraction_numerical': 0.006085192697768763, 'mean_word_length': 2.9466666666666668, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5279060', 'n_tokens_mistral': 656, 'n_tokens_neox': 573, 'n_words': 102}