[OpenSER-Devel] Help with Makefile
Matheus Araújo Aguiar
matheus.pit at gmail.com
Wed May 21 21:47:40 CEST 2008
When i said it was only executing the first line, i meant, the line
libscpp.o:
g++ -c ${LIBS_DIR}*.cpp -o libscpp.o
And not doing anything with the line
libsc.o:
gcc -c ${LIBS_DIR}*.c -o libsc.o
On Wed, May 21, 2008 at 4:45 PM, Matheus Araújo Aguiar <
matheus.pit at gmail.com> wrote:
> Hi everyone,
>
> I'm having some problems trying to get my module Makefile to work.
>
> Along with the module, i want to compile two more libs, one written in C++
> and another in C, but i just can't do it, because 'make' is only executing
> the first line of the Makefile, and doing nothing with the others.
> This is the Makefile:
>
> include ../../Makefile.defs
>
>
> LIBS_DIR=/usr/local/src/openser-1.3.0/openser/modules/mymodule/libs
>
> libscpp.o:
> g++ -c ${LIBS_DIR}*.cpp -o libscpp.o
>
> libsc.o:
> gcc -c ${LIBS_DIR}*.c -o libsc.o
>
> auto_gen=
> NAME=mymodule.so
> LIBS+= -lstdc++ libscpp.o libsc.o
> DEFS+= -I /usr/local/boost_1_35_0/
>
> include ../../Makefile.modules
>
>
> Thanks in advance,
>
> --
> Matheus Araújo Aguiar
> Computer Science Student
> matheus.pit at gmail.com
--
Matheus Araújo Aguiar
Computer Science Student
matheus.pit at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openser.org/pipermail/devel/attachments/20080521/a5baeeb0/attachment-0001.htm
More information about the Devel
mailing list