mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-05 18:30:24 -08:00
13 lines
427 B
Makefile
13 lines
427 B
Makefile
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
|