Skip to content
Browse files

allow overriding SBCL location in Makefile

  • Loading branch information...
1 parent d09261b commit 046f9264c1ca57d4737729038521039117c2404d @3b committed with Sep 10, 2009
Showing with 6 additions and 2 deletions.
  1. +6 −2 Makefile
View
8 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

0 comments on commit 046f926

Please sign in to comment.
Something went wrong with that request. Please try again.