-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathMakefile
65 lines (37 loc) · 963 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.SUFFIXES: .o .lsp
default:
@echo "Targets:"
@echo " clean - remove build droppings"
@echo " sbcl - build using SBCL"
@echo " clisp - build using CLISP"
@echo " "
git-push :
git push --all git+ssh://repo.or.cz/srv/git/CommonLispStat.git
asdf-create :
cd ASDF ; ln -s ../external/*/*.asd .
## Workspace cleanup
clean:
rm -f *.o *.fasl *~ *.flc
lib-clean :
(cd lib; make clean)
dist-clean: clean
rm -rf fasl sbcl-fasl
## C compilation
#
# Modify according to your system's needs for dynamic loading
#
CFLAGS = -O -G 0 -DINTPTR
# Directory for Examples and Data -- MUST end in a / if not null
# For now, you have to install the Examples and Data directories by hand.
#
LSLIB=/usr/statlocal/lib/xlispstat/
lib/clib.a:
(cd lib; make CFLAGS="${CFLAGS}")
lib/exclglue.o:
(cd lib; make CFLAGS="${CFLAGS}" exclglue.o)
## Lisp targets and compilation
sbcl :
clisp :
## Debugging/Building
sbcl-debug :
clisp-debug :