summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-05-04 08:43:02 +0000
committerBenny Prijono <bennylp@teluu.com>2006-05-04 08:43:02 +0000
commita72ffeb24e59699d9f28fdc38098eeda9e1b86a8 (patch)
tree3af5f3d241f316636b12f89c3068af05d8433596 /build
parentcf7c514c17c5491c33b7a05b5e5b12ee822b4656 (diff)
Updated Makefiles, defined $TARGET as shortcut for ($MACHINE_NAME-$OS_NAME-$CC_NAME)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@431 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'build')
-rw-r--r--build/rules.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/rules.mak b/build/rules.mak
index c43cb928..81ef8ce9 100644
--- a/build/rules.mak
+++ b/build/rules.mak
@@ -19,7 +19,7 @@ SRCDIR = $($(APP)_SRCDIR)
#
# Output directory for object files (i.e. output/target)
#
-OBJDIR = output/$(app)-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)
+OBJDIR = output/$(app)-$(TARGET_NAME)
ifeq ($(OS_NAME),linux-kernel)
export $(APP)_CFLAGS += -DKBUILD_MODNAME=$(app) -DKBUILD_BASENAME=$(app)
@@ -44,7 +44,7 @@ FULL_SRCS = $(foreach file, $($(APP)_OBJS), $(SRCDIR)/$(basename $(file)).c $(SR
DEPFLAGS = $($(APP)_CXXFLAGS) $($(APP)_CFLAGS)
# Dependency file
-DEP_FILE := .$(app)-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME).depend
+DEP_FILE := .$(app)-$(TARGET_NAME).depend
print_common: