mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Don't include all *.dep files
This commit is contained in:
parent
034bbcafaf
commit
4da8046513
1 changed files with 4 additions and 2 deletions
|
@ -89,9 +89,11 @@ define build-library =
|
|||
# Propagate CXXFLAGS to the individual object files.
|
||||
$$(foreach obj, $$($(1)_OBJS), $$(eval $$(obj)_CXXFLAGS=$$($(1)_CXXFLAGS)))
|
||||
|
||||
include $$(wildcard $$(_d)/*.dep)
|
||||
# Include .dep files, if they exist.
|
||||
$(1)_DEPS := $$(addsuffix .dep, $$(basename $$(_srcs)))
|
||||
-include $$($(1)_DEPS)
|
||||
|
||||
libs_list += $$($(1)_PATH)
|
||||
clean_files += $$(_d)/*.a $$(_d)/*.so $$(_d)/*.o $$(_d)/*.dep
|
||||
clean_files += $$(_d)/*.a $$(_d)/*.so $$(_d)/*.o $$(_d)/*.dep $$($(1)_DEPS) $$($(1)_OBJS)
|
||||
dist_files += $$(_srcs)
|
||||
endef
|
||||
|
|
Loading…
Reference in a new issue