File: Makefile

package info (click to toggle)
cl-clue 20050302
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,964 kB
  • ctags: 2,647
  • sloc: lisp: 32,019; makefile: 63; sh: 38
file content (34 lines) | stat: -rw-r--r-- 1,079 bytes parent folder | download | duplicates (3)
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
CLISP=clisp

install:
	cp -r pictures clue clio  \
	  $(DESTDIR)/usr/share/common-lisp/source/
	find $(DESTDIR)/usr/share/common-lisp/source/ -type d -name CVS -print0 | \
	   xargs -0 rm -rf 
	cp pictures.asd $(DESTDIR)/usr/share/common-lisp/source/pictures
	cp clio.asd $(DESTDIR)/usr/share/common-lisp/source/clio
	cp clue.asd $(DESTDIR)/usr/share/common-lisp/source/clue
	chown root.root $(DESTDIR)/usr/share/common-lisp/source/
	find $(DESTDIR)/usr/share/common-lisp/source/ -type f -print0 | \
	  xargs -0 chmod 0644 
	find $(DESTDIR)/usr/share/common-lisp/source/ -type d -print0 | \
	  xargs -0 chmod 0755 

clue-clisp:
	$(CLISP) -norc -K full -i ../../../clocc-top.fas \
		-x '(mk:compile-asd "clue")'

clio-clisp:
	$(CLISP) -norc -K full -i ../../../clocc-top.fas \
		-x '(mk:compile-asd "clio")'

clio-ex-clisp:
	$(CLISP) -norc -K full -i ../../../clocc-top.fas \
		-x '(mk:compile-asd "clio-examples")'

pictures-clisp:
	$(CLISP) -norc -K full -i ../../../clocc-top.fas \
		-x '(mk:compile-asd "pictures")'

clean-clisp:
	rm -fv `find . -name \*.fas -o -name \*.lib`