Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 1.04 KB
# -*- Mode: Makefile; tab-width: 3; indent-tabs-mode: t -*-
note:
@echo "This Makefile is only for rebuilding the low-level bindings from the"
@echo "official .spec file, it isn't needed for normal use. See tools/README.md"
@echo "for instructions for updating bindings."
# allow overriding location of sbcl, for example
# CL="~/lisp/clbuild/clbuild --implementation sbcl lisp" make funcs
CL ?= sbcl --noinform --disable-debugger
bindings:
@$(CL) --no-userinit --script "tools/generate-bindings.lisp"
# fixme: probably should grab xml file with svn instead of wget?
specs:
cd spec && wget -N https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
cd spec && svn info --xml https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/ > svn-info.xml
clean:
find . -name ".fasls" | xargs rm -rf
find . \( -name "*.dfsl" -o -name "*.fasl" -o -name "*.fas" -o -name "*.lib" -o -name "*.x86f" -o -name "*.ppcf" -o -name "*.nfasl" -o -name "*.fsl" \) -exec rm {} \;
.PHONY: bindings specs clean note
# vim: ft=make ts=3 noet