summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/configure b/tools/configure
index b65dc03..282b625 100755
--- a/tools/configure
+++ b/tools/configure
@@ -63,7 +63,7 @@ option=`input`;
case $option in
[Yy])
- debug="-DDEBUG"
+ debug="DEBUG=1"
;;
*)
debug=""
@@ -126,11 +126,9 @@ DEBUG=@DEBUG@
TARGET=@TARGET@
THISDIR="@PWD@"
-CFLAGS="\$(DEBUG) \$(TARGET)"
-
all:
- make -C \$(FIRMDIR) CFLAGS=\$(CFLAGS) OBJDIR=\$(THISDIR)
- make -C \$(APPSDIR) CFLAGS=\$(CFLAGS) OBJDIR=\$(THISDIR)
+ make -C \$(FIRMDIR) TARGET=\$(TARGET) $(DEBUG) OBJDIR=\$(THISDIR)
+ make -C \$(APPSDIR) TARGET=\$(TARGET) $(DEBUG) OBJDIR=\$(THISDIR)
EOF