X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/b33bdd39498b0f22261ef748aa7a69776c3ade1a..1bf1bfc9dae1911ac64a7d1732e1912ec81700f4:/tools/asdf-extensions.lisp diff --git a/tools/asdf-extensions.lisp b/tools/asdf-extensions.lisp index 89e0727..016ff46 100644 --- a/tools/asdf-extensions.lisp +++ b/tools/asdf-extensions.lisp @@ -152,6 +152,9 @@ (definitions :initform nil :initarg :definitions) (defmethod output-files ((op compile-op) (c c-source-file)) (list (make-pathname :type "o" :defaults (component-pathname c)))) +(defmethod component-pathname ((c c-source-file)) + (make-pathname :type "c" :name (component-name c) + :directory (pathname-directory (call-next-method)))) (defmethod perform ((op compile-op) (c c-source-file)) (unless