From 57ff8e61d3766b6fb55396a4592f50616215bd34 Mon Sep 17 00:00:00 2001
From: dave <devnull@localhost>
Date: Mon, 20 Sep 2004 00:46:42 +0200
Subject: [PATCH] [svn r6518] If this doesn't work I'm going to give up and go
 to bed.

---
 Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 06212ac93..8464f25d8 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,6 @@ dataset_path = dataset/loser
 surveydir_path = surveys
 cavern_flags = -qq -s
 tar_flags = -cz --exclude "*/CVS" --ignore-case -f
-svxtrace_cmd = find -name "*.svx"
 
 ###########
 
@@ -39,16 +38,16 @@ surveytable:
 
 3dfiles: noinfo/all.3d smkridge/204/204.3d smkridge/234/234.3d plateau/76/76.3d
 
-noinfo/all.3d: $(shell $(svxtrace_cmd) $(dataset_path))
+noinfo/all.3d: $(shell find $(dataset_path) -name "*.svx"))
 	cavern $(cavern_flags) $(dataset_path)/all -o noinfo/all.3d
 
-smkridge/204/204.3d: $(shell $(svxtrace_cmd) $(dataset_path)/caves/204)
+smkridge/204/204.3d: $(shell find $(dataset_path)/caves/204 -name "*.svx"))
 	cavern $(cavern_flags) $(dataset_path)/caves/204/204 -o smkridge/204/204.3d
 
-smkridge/234/234.3d: $(shell $(svxtrace_cmd) $(dataset_path)/caves/234)
+smkridge/234/234.3d: $(shell find $(dataset_path)/caves/234 -name "*.svx"))
 	cavern $(cavern_flags) $(dataset_path)/caves/234/234 -o smkridge/234/234.3d
 
-plateau/76/76.3d: $(shell $(svxtrace_cmd) $(dataset_path)/caves/76/)
+plateau/76/76.3d: $(shell find $(dataset_path)/caves/76/ -name "*.svx")
 	cavern $(cavern_flags) $(dataset_path)/caves/76/76 -o plateau/76/76.3d
 
 ###########