summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2011-03-01 05:25:27 +0000
committerLiong Sauw Ming <ming@teluu.com>2011-03-01 05:25:27 +0000
commit3b8e444b9025860b62b0813481f567a159ee55ce (patch)
tree8798d4266706d0915bb10e8f1c2b2569800286b9 /build
parent79659200a8f89acdc01bd892ee77efea70f2e194 (diff)
Implementation of re #1202 (PJLIB System Information API) on iPhone OS.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3428 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'build')
-rw-r--r--build/rules.mak5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/rules.mak b/build/rules.mak
index 3afdfd47..35cea900 100644
--- a/build/rules.mak
+++ b/build/rules.mak
@@ -115,6 +115,11 @@ $(OBJDIR)/$(app).ko: $(OBJDIR)/$(app).o
../lib/$(app).ko: $(LIB) $(OBJDIR)/$(app).ko
cp $(OBJDIR)/$(app).ko ../lib
+$(OBJDIR)/%$(OBJEXT): $(SRCDIR)/%.m
+ $(CC) $($(APP)_CFLAGS) \
+ $(CC_OUT)$(subst /,$(HOST_PSEP),$@) \
+ $(subst /,$(HOST_PSEP),$<)
+
$(OBJDIR)/%$(OBJEXT): $(SRCDIR)/%.c
$(CC) $($(APP)_CFLAGS) \
$(CC_OUT)$(subst /,$(HOST_PSEP),$@) \