object system cleanup, continuing
[CommonLispStat.git] / Makefile
blob46d1b4cf89c39d387e87d7c82d15438008a5da04
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 ## Workspace cleanup
12 clean:
13 (cd lib; make clean)
14 rm -f *.o *.fasl kclcmplr *~
16 cleanall:
17 (cd lib; make cleanall)
18 rm -f *.o *.fasl kclcmplr saved_kcls kcls cls
20 ## C compilation
23 # Modify according to your system's needs for dynamic loading
25 CFLAGS = -O -G 0 -DINTPTR
27 # Directory for Examples and Data -- MUST end in a / if not null
28 # For now, you have to install the Examples and Data directories by hand.
30 LSLIB=/usr/statlocal/lib/xlispstat/
32 lib/clib.a:
33 (cd lib; make CFLAGS="${CFLAGS}")
35 lib/exclglue.o:
36 (cd lib; make CFLAGS="${CFLAGS}" exclglue.o)
39 ## Lisp targets and compilation
41 sbcl :
44 clisp :
47 ## Debugging/Building
50 sbcl-debug :
53 clisp-debug :