Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJames Cameron <quozl@laptop.org>2010-01-06 22:03:55 (GMT)
committer James Cameron <quozl@laptop.org>2010-01-06 22:03:55 (GMT)
commit583e1e8c3339e6797fc615e7037035c0e01fd41b (patch)
tree06dd7a7618d57138178f04e9a8b30b6e6103eb54 /Makefile
parentd5ac170d62986fb81278d7f0d4cdf8fbca845cd9 (diff)
build binaries on make with no target
Because we have a directory called bin/ the "all" target discovered a prerequisite existing and would not attempt the "bin" target. In this patch the targets are manipulated so that "make" alone will build the binaries.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7fdad01..55279e6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,11 @@
export VERSION=$(shell grep "^VERSION=" osbuilder.py | sed 's/^VERSION="\(.*\)"/\1/')
export docdir=$(DESTDIR)/usr/share/doc/olpc-os-builder-$(VERSION)
-all: bin
+all: bin_
-bin:
+bin: bin_
+
+bin_:
$(MAKE) -C bin
install: all