Asterisk - 13.6.0 - Create Makefile for new .c file and link

Hi All,

I am facing below issue,

I have created mypgm.c and included into main/asterisk.c.
I just wanted to link the compiled (.o) to asterisk exe.

Can anyone suggest how to do this? Because i could see, “$(MAIN_TGT): $(OBJS) $(ASTSSL_LIB) $(LIBEDIT_OBJ) $(AST_EMBED_LDSCRIPTS)” target not getting executed when ever i try to execute “make install”. This one getting executed only when there is change in “asterisk.c”

Regards,
Boobalan

Use the developer mailing list or IRC channel for questions like this.

Hi david55,

We dont find any developer mailing list on this case actually. Thats why we posted this question in Asterisk Forum.

Regards,
Boobalan

lists.digium.com/mailman/listinfo/asterisk-dev