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 <
[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]




-- 
Matheus Araújo Aguiar
Computer Science Student
[EMAIL PROTECTED]
_______________________________________________
Devel mailing list
Devel@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to