mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fixed Makefile so it will work when you do a clean checkout and the tools aren't already built.
svn path=/trunk/; revision=3152
This commit is contained in:
parent
ccf3e5b082
commit
3d14932152
1 changed files with 5 additions and 2 deletions
|
@ -69,11 +69,14 @@ MAKETARGET = $(MAKE) --no-print-directory -C $(OUTPUT_DIR) \
|
|||
-f ../../Makefile SRCDIR=$(CURDIR) $(MAKECMDGOALS)
|
||||
|
||||
.PHONY: CHANGE_TO_TARGET
|
||||
CHANGE_TO_TARGET: $(OBJDIR) $(OBJDIR)/$(TARGET)
|
||||
@$(MAKE) --no-print-directory -C $(TOOLSDIR)
|
||||
CHANGE_TO_TARGET: BUILD_TOOLS $(OBJDIR) $(OBJDIR)/$(TARGET)
|
||||
@echo Calculating source file dependencies...
|
||||
+@$(MAKETARGET)
|
||||
|
||||
.PHONY: BUILD_TOOLS
|
||||
BUILD_TOOLS:
|
||||
@$(MAKE) --no-print-directory -C $(TOOLSDIR)
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating directory: $(OBJDIR)
|
||||
@$(MKDIR) $(OBJDIR)
|
||||
|
|
Loading…
Reference in a new issue