Next: Reuse, Previous: Write some code, Up: Making a small Lisp project with quickproject and Quicklisp [Contents][Index]
utils.lisp,
graphics.lisp, and
web.lisp, and
quickproject to:
(asdf:defsystem #:swatchblade
:serial t
:depends-on (#:vecto
#:hunchentoot)
:components ((:file "package")
(:file "utils")
(:file "graphics")
(:file "web")
(:file "swatchblade")))
defsystem, files are
compiled and loaded in order. You can get more complicated in expressing
inter-file relationships, but I haven’t found it worth the trouble. I just
organize my files so that functions and macros needed in later files are
provided in earlier files.