version 1.16, 2009/10/07 18:06:36
|
version 1.17, 2009/10/15 20:10:24
|
Line 21 all: $(PROJOBJDIR) $(OBJDIR) |
|
Line 21 all: $(PROJOBJDIR) $(OBJDIR) |
|
| |
# Define the rules to build in the target subdirectories. | # Define the rules to build in the target subdirectories. |
# | # |
MAKETARGET = $(MAKE) --no-print-directory -C $@ -f $(CURDIR)/Makefile \ |
MAKETARGET = $(MAKE) --no-print-directory -C $@ -f $(WORKINGDIR)/Makefile \ |
SRCDIR=$(WORKINGDIR) $(MAKECMDGOALS) | SRCDIR=$(WORKINGDIR) $(MAKECMDGOALS) |
| |
.PHONY: $(PROJOBJDIR) $(OBJDIR) | .PHONY: $(PROJOBJDIR) $(OBJDIR) |
| |
# Create the project-specific directories too, if they exist. | # Create the project-specific directories too, if they exist. |
-include $(CURDIR)/proj/target.mk |
-include $(WORKINGDIR)/proj/target.mk |
| |
$(OBJDIR): | $(OBJDIR): |
+@[ -d bin/$(MACH) ] || mkdir -p bin/$(MACH) | +@[ -d bin/$(MACH) ] || mkdir -p bin/$(MACH) |