From 70c9c62039791d9c58919bfb66d527e74f74ee10 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 6 Jan 2006 21:56:50 +0000 Subject: [PATCH] * Use a slightly different method for generating qvm dependencies to avoid FreeBSD 'find' weirdness --- code/unix/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/unix/Makefile b/code/unix/Makefile index 4c4a42d0..59506397 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -1669,12 +1669,10 @@ installer: build_release D_FILES=$(shell find . -name '*.d') $(B)/baseq3/vm/vm.d: $(Q3GOBJ) $(Q3CGOBJ) $(Q3UIOBJ) - -rm -f $@ - find $(B)/baseq3 -iname '*.d' | xargs sed -e 's/\.o/\.asm/g' > $@ + cat $(^:%.o=%.d) | sed -e 's/\.o/\.asm/g' > $@ $(B)/missionpack/vm/vm.d: $(MPGOBJ) $(MPCGOBJ) $(MPUIOBJ) - -rm -f $@ - find $(B)/missionpack -iname '*.d' | xargs sed -e 's/\.o/\.asm/g' > $@ + cat $(^:%.o=%.d) | sed -e 's/\.o/\.asm/g' > $@ qvmdeps: $(B)/baseq3/vm/vm.d $(B)/missionpack/vm/vm.d