chiark
/
gitweb
/
~mdw
/
clg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force asdf to call the C source file blah.c, rather than just blah. I'm
[clg]
/
tools
/
asdf-extensions.lisp
diff --git
a/tools/asdf-extensions.lisp
b/tools/asdf-extensions.lisp
index 89e07273a533f35f017c11eea52db1cb054c9851..016ff4680f5111e841eb9cb135701af17c7be01d 100644
(file)
--- 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 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
(defmethod perform ((op compile-op) (c c-source-file))
(unless