From d078405603e6343d91b229054aef174c3618461b Mon Sep 17 00:00:00 2001 From: Robert Dickenson Date: Sat, 17 Aug 2002 16:06:29 +0000 Subject: [PATCH] Added TOOLS_PATH macro and default target similar to that in reactos/rules.mak svn path=/trunk/; revision=3354 --- rosapps/rules.mak | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/rosapps/rules.mak b/rosapps/rules.mak index 48096bc6d40..cbc04f68137 100644 --- a/rosapps/rules.mak +++ b/rosapps/rules.mak @@ -1,15 +1,19 @@ -# -# Select your host -# -#HOST = mingw32-linux -HOST = mingw32-windows - - # # Important # .EXPORT_ALL_VARIABLES: +# +# Select your host +#HOST = mingw32-windows +#HOST = mingw32-linux +# +# 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) endif @@ -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