Added TOOLS_PATH macro and default target similar to that in reactos/rules.mak

svn path=/trunk/; revision=3354
This commit is contained in:
Robert Dickenson 2002-08-17 16:06:29 +00:00
parent faa53591e2
commit d078405603

View file

@ -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