I have the following package definition. How to compile all components recursively, as well as their dependencies to source C? In other words, I want to save all the C files that create their own executable file.
I am currently using (asdf:make-build :example , but this does not leave any C files.
I expect to see
simple.c simple.h simple.data cl-opengl.c cl-opengl.h ...
example.asd:
(defsystem :example :depends-on (:cl-opengl :cl-glu :cl-glut) :serial t :components ((:file "simple")))
cl-opengl.asd:
(defsystem cl-opengl :description "Common Lisp bindings to OpenGL." :depends-on (cffi alexandria) :components ((:module "gl" :components ((:file "bindings-package") (:file "constants" :depends-on ("bindings-package")) (:file "library" :depends-on ("bindings-package")) (:file "bindings" :depends-on ("bindings-package" "constants" "library")) ...
source share