assume HOST is set to mingw32-windows until someone who knows how can have make fail...
authorRoyce Mitchell III <royce3@ev1.net>
Wed, 5 Jan 2005 18:13:56 +0000 (18:13 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Wed, 5 Jan 2005 18:13:56 +0000 (18:13 +0000)
svn path=/branches/xmlbuildsystem/; revision=12822

reactos/tools/rbuild/makefile

index ca58a90..a25a5da 100644 (file)
@@ -34,14 +34,16 @@ HOST_LFLAGS = -g
 rbuild$(EXE_POSTFIX): $(OBJECTS)\r
        $(HOST_CXX) $(OBJECTS) $(HOST_LFLAGS) -o rbuild$(EXE_POSTFIX)\r
 \r
+ifeq ($(HOST),"")\r
+echo Please set HOST variable to mingw32-windows or mingw32-linux\r
+endif\r
 ifeq ($(HOST),mingw32-linux)\r
 clean:\r
        -rm -f *.o\r
        -rm -f rbuild$(EXE_POSTFIX)\r
        -rm -f tests/*.o\r
        -rm -f rbuild_tests$(EXE_POSTFIX)\r
-endif\r
-ifeq ($(HOST),mingw32-windows)\r
+else\r
 clean:\r
        -del *.o\r
        -del rbuild$(EXE_POSTFIX)\r