File: Makefile

package info (click to toggle)
ecl 24.5.10%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 18,812 kB
  • sloc: ansic: 190,405; lisp: 68,972; xml: 8,221; asm: 5,551; sh: 3,384; makefile: 1,992; cpp: 190; java: 116
file content (13 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
hello.exe: hello.c hello-lisp.a
	$(CC) `ecl-config --cflags` -o $@ hello.c hello-lisp.a \
	      `ecl-config --ldflags` -lecl

hello-lisp.a: hello-lisp.lisp
	ecl -norc \
	    -eval '(require :asdf)' \
	    -eval '(push "./" asdf:*central-registry*)' \
	    -eval '(asdf:make-build :hello-lisp :type :static-library :move-here "./" :init-name "init_lib_HELLO_LISP")' \
	    -eval '(quit)'

clean:
	-rm -f hello-lisp.a hello.exe