File: Makefile

package info (click to toggle)
ecl 21.2.1%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,604 kB
  • sloc: ansic: 146,375; lisp: 67,950; xml: 8,221; asm: 5,551; sh: 3,239; makefile: 1,968; 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