Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /examples/embed/Makefile [000000] .. [83e805] Maximize Restore

  Switch to side-by-side view

--- a
+++ b/examples/embed/Makefile
@@ -0,0 +1,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