mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 12:41:00 +01:00
Change dependency file names from foo.dep to .foo.o.dep
This commit is contained in:
parent
4271927c5b
commit
f324b49ea1
6 changed files with 14 additions and 12 deletions
|
|
@ -53,10 +53,10 @@ define build-program =
|
|||
$$(foreach obj, $$($(1)_OBJS), $$(eval $$(obj): $$($(1)_COMMON_DEPS)))
|
||||
|
||||
# Include .dep files, if they exist.
|
||||
$(1)_DEPS := $$(addsuffix .dep, $$(basename $$(_srcs)))
|
||||
$(1)_DEPS := $$(foreach fn, $$($(1)_OBJS), $$(call filename-to-dep, $$(fn)))
|
||||
-include $$($(1)_DEPS)
|
||||
|
||||
programs_list += $$($(1)_PATH)
|
||||
clean_files += $$($(1)_PATH) $$(_d)/*.o $$(_d)/*.dep $$($(1)_DEPS) $$($(1)_OBJS)
|
||||
clean_files += $$($(1)_PATH) $$(_d)/*.o $$(_d)/.*.dep $$($(1)_DEPS) $$($(1)_OBJS)
|
||||
dist_files += $$(_srcs)
|
||||
endef
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue