mirror of
https://github.com/Zygo/bees.git
synced 2025-05-18 05:45:45 +02:00
Makefiles: don't append to depends.mk.new
Fixes errors such as: depends.mk:765: *** multiple target patterns. Stop. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
8d3a27bf85
commit
3da755713a
@ -21,7 +21,7 @@ OBJS = \
|
|||||||
include ../makeflags
|
include ../makeflags
|
||||||
|
|
||||||
depends.mk: *.cc
|
depends.mk: *.cc
|
||||||
for x in *.cc; do $(CXX) $(CXXFLAGS) -M "$$x"; done >> depends.mk.new
|
for x in *.cc; do $(CXX) $(CXXFLAGS) -M "$$x"; done > depends.mk.new
|
||||||
mv -fv depends.mk.new depends.mk
|
mv -fv depends.mk.new depends.mk
|
||||||
|
|
||||||
.version.cc: Makefile ../makeflags *.cc ../include/crucible/*.h
|
.version.cc: Makefile ../makeflags *.cc ../include/crucible/*.h
|
||||||
|
@ -17,7 +17,7 @@ LIBS = -lcrucible
|
|||||||
LDFLAGS = -L../lib -Wl,-rpath=$(shell realpath ../lib)
|
LDFLAGS = -L../lib -Wl,-rpath=$(shell realpath ../lib)
|
||||||
|
|
||||||
depends.mk: *.cc
|
depends.mk: *.cc
|
||||||
for x in *.cc; do $(CXX) $(CXXFLAGS) -M "$$x"; done >> depends.mk.new
|
for x in *.cc; do $(CXX) $(CXXFLAGS) -M "$$x"; done > depends.mk.new
|
||||||
mv -fv depends.mk.new depends.mk
|
mv -fv depends.mk.new depends.mk
|
||||||
|
|
||||||
-include depends.mk
|
-include depends.mk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user