Ignore:
Timestamp:
Jan 16, 2014 6:33:19 AM (9 years ago)
Author:
ming
Message:

Re #1723: Fixed compilation and linking errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/build/Samples.mak

    r4704 r4705  
    3030           pjsip-perf \ 
    3131           pcaputil \ 
     32           pjsua2_demo \ 
    3233           playfile \ 
    3334           playsine \ 
     
    4950EXES := $(foreach file, $(SAMPLES), $(file)$(HOST_EXE)) 
    5051 
    51 PJSUA2_SAMPLES := pjsua2_demo 
     52.PHONY: $(EXES) 
    5253 
    53 PJSUA2_EXES := $(foreach file, $(PJSUA2_SAMPLES), $(file)$(HOST_EXE)) 
    54  
    55 .PHONY: $(EXES) 
    56 .PHONY: $(PJSUA2_EXES) 
    57  
    58 all: $(EXES) $(PJSUA2_EXES) 
     54all: $(EXES) 
    5955 
    6056$(EXES): 
    61         $(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)/$@) 
    62  
    63 $(PJSUA2_EXES): 
    64         $(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)/$@) 
     57        $(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)/$@) 
    6558 
    6659depend: 
Note: See TracChangeset for help on using the changeset viewer.