From 46a3cfdd7b2a77a308a6ac3fbca3b675c4f44fe7 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 1 Aug 2006 06:27:43 +0000 Subject: It builds fine, and can build other things as well, like squirrelmud, and clean. I need to fix the dependancy tracking so that it will only check if it needs to, sort of like pymake. And does each file as it gets to it. --- src/builder.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/builder.h') diff --git a/src/builder.h b/src/builder.h index f21e411..f27a042 100644 --- a/src/builder.h +++ b/src/builder.h @@ -100,8 +100,10 @@ public: return mTarget[sName]; } - std::list getRequires( const char *sReq ) + std::list *getRequires( const char *sReq ) { + if( mRequires.find(sReq) == mRequires.end() ) + return NULL; return mRequires[sReq]; } -- cgit v1.2.3