From f97516bc1cccb4da492b2d2ca11c5245722ab98b Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Wed, 5 Jan 2005 18:13:56 +0000 Subject: [PATCH] assume HOST is set to mingw32-windows until someone who knows how can have make fail when HOST isn't set svn path=/branches/xmlbuildsystem/; revision=12822 --- reactos/tools/rbuild/makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reactos/tools/rbuild/makefile b/reactos/tools/rbuild/makefile index ca58a90f32d..a25a5da1008 100644 --- a/reactos/tools/rbuild/makefile +++ b/reactos/tools/rbuild/makefile @@ -34,14 +34,16 @@ HOST_LFLAGS = -g rbuild$(EXE_POSTFIX): $(OBJECTS) $(HOST_CXX) $(OBJECTS) $(HOST_LFLAGS) -o rbuild$(EXE_POSTFIX) +ifeq ($(HOST),"") +echo Please set HOST variable to mingw32-windows or mingw32-linux +endif ifeq ($(HOST),mingw32-linux) clean: -rm -f *.o -rm -f rbuild$(EXE_POSTFIX) -rm -f tests/*.o -rm -f rbuild_tests$(EXE_POSTFIX) -endif -ifeq ($(HOST),mingw32-windows) +else clean: -del *.o -del rbuild$(EXE_POSTFIX)