Added TOOLS_PATH macro and default target similar to that in reactos/rules.mak
authorRobert Dickenson <robd@reactos.org>
Sat, 17 Aug 2002 16:06:29 +0000 (16:06 +0000)
committerRobert Dickenson <robd@reactos.org>
Sat, 17 Aug 2002 16:06:29 +0000 (16:06 +0000)
svn path=/trunk/; revision=3354

rosapps/rules.mak

index 48096bc..cbc04f6 100644 (file)
@@ -1,14 +1,18 @@
 #
-# Select your host
+# Important
 #
-#HOST = mingw32-linux
-HOST = mingw32-windows
-
+.EXPORT_ALL_VARIABLES:
 
 #
-# Important
+# Select your host
+#HOST = mingw32-windows
+#HOST = mingw32-linux
 #
-.EXPORT_ALL_VARIABLES:
+# Windows is default host environment
+ifeq ($(HOST),)
+HOST = mingw32-windows
+endif
+
 
 ifeq ($(HOST),mingw32-linux)
 TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
@@ -85,6 +89,9 @@ AR = $(PREFIX)ar
 RC = $(PREFIX)windres
 RCINC = --include-dir ../reactos/include --include-dir ../../reactos/include --include-dir ../../../reactos/include
 
+TOOLS_PATH = $(PATH_TO_TOP)/../reactos/tools
+RSYM = $(TOOLS_PATH)/rsym
+
 %.o: %.cpp
        $(CC) $(CFLAGS) -c $< -o $@
 %.o: %.cc