mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +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
|
# Important
|
||||||
#
|
#
|
||||||
.EXPORT_ALL_VARIABLES:
|
.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)
|
ifeq ($(HOST),mingw32-linux)
|
||||||
TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
|
TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
|
||||||
endif
|
endif
|
||||||
|
@ -85,6 +89,9 @@ AR = $(PREFIX)ar
|
||||||
RC = $(PREFIX)windres
|
RC = $(PREFIX)windres
|
||||||
RCINC = --include-dir ../reactos/include --include-dir ../../reactos/include --include-dir ../../../reactos/include
|
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
|
%.o: %.cpp
|
||||||
$(CC) $(CFLAGS) -c $< -o $@
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
%.o: %.cc
|
%.o: %.cc
|
||||||
|
|
Loading…
Reference in a new issue