summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-23 13:55:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-23 13:55:26 +0000
commit3c286ec63c3abd59e88e83d5f0f9ba21a9f5202c (patch)
tree2ae75a5b2b6d3c1b10a4040b5bb9c5ca0ce838ed
parentf8a59f27f83ca172317a9b6061cdb514cdc35312 (diff)
downloadrockbox-3c286ec63c3abd59e88e83d5f0f9ba21a9f5202c.zip
rockbox-3c286ec63c3abd59e88e83d5f0f9ba21a9f5202c.tar.gz
rockbox-3c286ec63c3abd59e88e83d5f0f9ba21a9f5202c.tar.bz2
rockbox-3c286ec63c3abd59e88e83d5f0f9ba21a9f5202c.tar.xz
generates separate 'firmware' and 'apps' targets in the makefile, also
added a clean target git-svn-id: svn://svn.rockbox.org/rockbox/trunk@671 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure12
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index b97e14a..ef592cf 100755
--- a/tools/configure
+++ b/tools/configure
@@ -143,10 +143,20 @@ DEBUG=@DEBUG@
TARGET=@TARGET@
THISDIR="@PWD@"
-all:
+.PHONE: firmware apps
+
+all: firmware apps
+
+firmware:
make -C \$(FIRMDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR)
+
+apps:
make -C \$(APPSDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR)
+clean:
+ make -C \$(APPSDIR) clean
+ make -C \$(FIRMDIR) clean
+
EOF
echo "Created Makefile"