diff options
author | Liong Sauw Ming <ming@teluu.com> | 2014-01-16 06:33:19 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2014-01-16 06:33:19 +0000 |
commit | c72920f8837a83cc2c4ce0c241fc89f9d7957d8e (patch) | |
tree | c8ddcb06f41ecd92505c0b373b386458d24cd6f4 /pjsip-apps/build/Samples.mak | |
parent | e56ea14ab8531ee3cec375460577d1b89bf62e26 (diff) |
Re #1723: Fixed compilation and linking errors
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4705 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/build/Samples.mak')
-rw-r--r-- | pjsip-apps/build/Samples.mak | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/pjsip-apps/build/Samples.mak b/pjsip-apps/build/Samples.mak index 6e9ca386..65d25b9f 100644 --- a/pjsip-apps/build/Samples.mak +++ b/pjsip-apps/build/Samples.mak @@ -29,6 +29,7 @@ SAMPLES := auddemo \ mix \ pjsip-perf \ pcaputil \ + pjsua2_demo \ playfile \ playsine \ recfile \ @@ -48,20 +49,12 @@ SAMPLES := auddemo \ EXES := $(foreach file, $(SAMPLES), $(file)$(HOST_EXE)) -PJSUA2_SAMPLES := pjsua2_demo - -PJSUA2_EXES := $(foreach file, $(PJSUA2_SAMPLES), $(file)$(HOST_EXE)) - .PHONY: $(EXES) -.PHONY: $(PJSUA2_EXES) -all: $(EXES) $(PJSUA2_EXES) +all: $(EXES) $(EXES): - $(MAKE) --no-print-directory -f $(RULES_MAK) SAMPLE_SRCDIR=$(SRCDIR) SAMPLE_OBJS=$@.o SAMPLE_CFLAGS="$(_CFLAGS)" SAMPLE_LDFLAGS="$(_LDFLAGS)" SAMPLE_EXE=$@ APP=SAMPLE app=sample $(subst /,$(HOST_PSEP),$(BINDIR)/$@) - -$(PJSUA2_EXES): - $(MAKE) --no-print-directory -f $(RULES_MAK) SAMPLE_SRCDIR=$(SRCDIR) SAMPLE_OBJS=$@.o SAMPLE_CFLAGS="$(_CFLAGS)" SAMPLE_LDFLAGS="$(_LDFLAGS) -lstdc++" SAMPLE_EXE=$@ APP=SAMPLE app=sample $(subst /,$(HOST_PSEP),$(BINDIR)/$@) + $(MAKE) --no-print-directory -f $(RULES_MAK) SAMPLE_SRCDIR=$(SRCDIR) SAMPLE_OBJS=$@.o SAMPLE_CFLAGS="$(_CFLAGS)" SAMPLE_CXXFLAGS="$(_CXXFLAGS)" SAMPLE_LDFLAGS="$(_LDFLAGS) -lstdc++" SAMPLE_EXE=$@ APP=SAMPLE app=sample $(subst /,$(HOST_PSEP),$(BINDIR)/$@) depend: |