mirror of
https://github.com/reactos/reactos.git
synced 2024-12-25 16:50:57 +00:00
Added TOOLS_PATH macro and default target similar to that in reactos/rules.mak
svn path=/trunk/; revision=3354
This commit is contained in:
parent
faa53591e2
commit
d078405603
1 changed files with 14 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue