mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
put windows-detection code in makefile, don't make proxy.mak silent
svn path=/branches/xmlbuildsystem/; revision=13952
This commit is contained in:
parent
b62f2bb179
commit
af64b1423c
2 changed files with 18 additions and 6 deletions
|
@ -1,3 +1,20 @@
|
|||
.PHONY: all
|
||||
.PHONY: clean
|
||||
all: makefile.auto
|
||||
|
||||
ifeq ($(HOST),)
|
||||
OSDETECT=$(word 1,$(shell gcc -dumpmachine))
|
||||
|
||||
all: detect_os
|
||||
|
||||
detect_os:
|
||||
ifeq ($(OSDETECT),mingw32)
|
||||
HOST=mingw32-windows
|
||||
else
|
||||
HOST=mingw32-linux
|
||||
endif
|
||||
endif
|
||||
|
||||
# Default to half-verbose mode
|
||||
ifeq ($(VERBOSE),no)
|
||||
Q = @
|
||||
|
@ -87,11 +104,6 @@ else # mingw32-windows
|
|||
NUL = NUL
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
.PHONY: clean
|
||||
|
||||
all: makefile.auto
|
||||
|
||||
ifneq ($(ROS_INTERMEDIATE),)
|
||||
$(ROS_INTERMEDIATE)tools: $(ROS_INTERMEDIATE)
|
||||
${nmkdir} $(ROS_INTERMEDIATE)tools
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
MAKEFLAGS += --no-print-directory --silent
|
||||
MAKEFLAGS += --no-print-directory
|
||||
|
||||
$(DEFAULT):
|
||||
@$(MAKE) -C $(TOP) $(DEFAULT)
|
||||
|
|
Loading…
Reference in a new issue