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

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

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

Postby boobalan » Sat Dec 26, 2015 6:36 am

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
boobalan
Newsterisk
 
Posts: 3
Joined: Sat Dec 26, 2015 6:30 am

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

Postby david55 » Mon Dec 28, 2015 4:55 am

Use the developer mailing list or IRC channel for questions like this.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

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

Postby boobalan » Mon Dec 28, 2015 5:29 am

Hi david55,

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

Regards,
Boobalan
boobalan
Newsterisk
 
Posts: 3
Joined: Sat Dec 26, 2015 6:30 am

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

Postby david55 » Mon Dec 28, 2015 11:54 am

david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 1 guest