Skip to content

Commit

Permalink
allow overriding SBCL location in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
3b committed Sep 10, 2009
1 parent d09261b commit 046f926
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
@@ -1,10 +1,14 @@
# -*- Mode: Makefile; tab-width: 3; indent-tabs-mode: t -*-

# allow overriding location of sbcl, for example
# CL="~/lisp/clbuild/clbuild --implementation sbcl lisp" make funcs
CL ?= sbcl --noinform --disable-debugger

enums:
@sbcl --noinform --disable-debugger --no-userinit --load "tools/generate-enums.lisp" --eval "(main)"
@$(CL) --no-userinit --load "tools/generate-enums.lisp" --eval "(main)"

funcs:
@sbcl --noinform --disable-debugger --load "tools/generate-funcs.lisp" --eval "(spec-parser:main)"
@$(CL) --load "tools/generate-funcs.lisp" --eval "(spec-parser:main)"

specs:
cd spec && wget -N http://www.opengl.org/registry/api/enum.spec
Expand Down

0 comments on commit 046f926

Please sign in to comment.