my make file: PJSIP_SRC_PATH:=/pjproject include $(PJSIP_SRC_PATH)/build.mak include $(PJDIR)/build/common.mak RULES_MAK := $(PJDIR)/build/rules.mak include $(PJSIP_SRC_PATH)/build/common.mak ############################################################################### # Gather all flags. # export _CFLAGS := -DHAS_CALLREC_MUTEX=1 -DUSE_HS_HAS=0 -Wall -pipe $(PJ_CFLAGS) $(CFLAGS) export _CXXFLAGS:= -DHAS_CALLREC_MUTEX=1 -DUSE_HS_HAS=0 -DNDEBUG -D_REENTRANT -Wall -pipe -g -fomit-frame-pointer -fno-strict-aliasing -Wno-unused-label $(PJ_CXXFLAGS) #export _CXXFLAGS:= -Wall -pipe -g $(PJ_CXXFLAGS) export _LDFLAGS := $(PJ_LDFLAGS) $(PJ_LDLIBS) $(LDFLAGS) CC = gcc CXX = g++ TARGET = sipua-release %.o: %.c $(CC) $(_CFLAGS) -c $< -o $@ %.o: %.cpp $(CXX) $(_CXXFLAGS) -c $< -o $@ SOURCES = $(wildcard *.c *.cpp) OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(SOURCES))) $(TARGET) : $(OBJS) $(CXX) $(OBJS) -o $(TARGET) $(_LDFLAGS) chmod a+x $(TARGET) clean: rm -rf *.o $(TARGET) On Fri, Apr 17, 2009 at 8:16 PM, senthil at gotouchpoint.com < senthil at gotouchpoint.com> wrote: > Dear All, > > Can anybody please send me the template for the Makefile used to build my > own application. The template given under the following link seems to be > not working: > > http://trac.pjsip.org/repos/wiki/Getting_Started_Using > > Thanks in advance. > > Regards, > - Sen > > > > -------------------------------------------------------------------- > myhosting.com - Premium Microsoft? Windows? and Linux web and application > hosting - http://link.myhosting.com/myhosting > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090420/00682020/attachment-0001.html>