Making the prototype system generic.
[CommonLispStat.git] / Makefile
blob0194394ce969007b88679c6d3b8171b08f14fa3a
1 .SUFFIXES: .o .lsp
3 default:
4 @echo "Targets:"
5 @echo " clean - remove build droppings"
6 @echo " sbcl - build using SBCL"
7 @echo " clisp - build using CLISP"
8 @echo " "
10 git-push :
11 git push --all git+ssh://repo.or.cz/srv/git/CommonLispStat.git
14 asdf-create :
15 cd ASDF ; ln -s ../external/*/*.asd .
18 ## Workspace cleanup
20 clean:
21 rm -f *.o *.fasl *~ *.flc
23 lib-clean :
24 (cd lib; make clean)
26 dist-clean: clean
27 rm -rf fasl sbcl-fasl
29 ## C compilation
32 # Modify according to your system's needs for dynamic loading
34 CFLAGS = -O -G 0 -DINTPTR
36 # Directory for Examples and Data -- MUST end in a / if not null
37 # For now, you have to install the Examples and Data directories by hand.
39 LSLIB=/usr/statlocal/lib/xlispstat/
41 lib/clib.a:
42 (cd lib; make CFLAGS="${CFLAGS}")
44 lib/exclglue.o:
45 (cd lib; make CFLAGS="${CFLAGS}" exclglue.o)
48 ## Lisp targets and compilation
50 sbcl :
53 clisp :
56 ## Debugging/Building
59 sbcl-debug :
62 clisp-debug :