[83e805]: examples / embed / Makefile Maximize Restore History

Download this file

Makefile    14 lines (11 with data), 396 Bytes

 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 "./$@")' \
-eval '(quit)'
clean:
-rm -f hello-lisp.a hello.exe