Changeset 342 for pjproject/trunk/pjsip-apps/build/Samples.mak
- Timestamp:
- Mar 20, 2006 4:59:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/build/Samples.mak
r328 r342 20 20 export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ 21 21 $(HOST_CXXFLAGS) $(CXXFLAGS) 22 export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJSUA_LIB_LIB)) \ 23 $(subst /,$(HOST_PSEP),$(PJSIP_UA_LIB)) \ 24 $(subst /,$(HOST_PSEP),$(PJSIP_SIMPLE_LIB)) \ 25 $(subst /,$(HOST_PSEP),$(PJSIP_LIB)) \ 26 $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ 27 $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \ 28 $(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \ 29 $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) \ 22 23 export LIBS := $(subst /,$(HOST_PSEP),$(PJSUA_LIB_LIB)) \ 24 $(subst /,$(HOST_PSEP),$(PJSIP_UA_LIB)) \ 25 $(subst /,$(HOST_PSEP),$(PJSIP_SIMPLE_LIB)) \ 26 $(subst /,$(HOST_PSEP),$(PJSIP_LIB)) \ 27 $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ 28 $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \ 29 $(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \ 30 $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) 31 32 33 export _LDFLAGS := $(LIBS) \ 30 34 $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ 31 35 $(LDFLAGS) -lm … … 38 42 LDFLAGS = $(_LDFLAGS) 39 43 40 SAMPLES := simpleua 44 SAMPLES := simpleua playfile playsine confsample sndinfo 45 41 46 EXES := $(foreach file, $(SAMPLES), $(BINDIR)/$(file)-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(HOST_EXE)) 42 47 43 48 all: $(OBJDIR) $(EXES) 44 49 45 $(BINDIR)/%-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(HOST_EXE): $(OBJDIR)/%$(OBJEXT) 50 $(BINDIR)/%-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(HOST_EXE): $(OBJDIR)/%$(OBJEXT) $(LIBS) 46 51 $(LD) $(LDOUT)$(subst /,$(HOST_PSEP),$@) \ 47 52 $(subst /,$(HOST_PSEP),$<) \ … … 56 61 $(subst @@,$(subst /,$(HOST_PSEP),$@),$(HOST_MKDIR)) 57 62 63 depend: 64 58 65 clean: 59 66 $(subst @@,$(subst /,$(HOST_PSEP),$(OBJDIR)/*),$(HOST_RMR)) 60 67 $(subst @@,$(subst /,$(HOST_PSEP),$(OBJDIR)),$(HOST_RMDIR)) 68 $(subst @@,$(EXES),$(HOST_RM)) 61 69 62 70 distclean realclean: clean 63 $(subst @@,$(EXES),$(HOST_RM))64 71 # $(subst @@,$(subst /,$(HOST_PSEP),$(EXES)) $(subst /,$(HOST_PSEP),$(EXES)),$(HOST_RM)) 65 72 # $(subst @@,$(DEP_FILE),$(HOST_RM))
Note: See TracChangeset
for help on using the changeset viewer.