[nbusers] compile with netbeans....

  • From: "kubbe" < >
  • To:
  • Subject: [nbusers] compile with netbeans....
  • Date: Mon, 15 Oct 2012 15:18:47 -0400

Hi...

I have a reenrant bison-flex example(c++). I wish use that in netbeans 
project.

Flex-bison sample has fallowing files:
        DBConnector.y
        DBConnector.l
        main.cpp ..


And sample makefile of bison example is..

Code:

        demo: main.o lex.DBConnector_.o DBConnector.tab.o
                g++ -g -o demo main.o lex.DBConnector_.o DBConnector.tab.o 
-lfl

        main.o: main.cpp
                g++ -g -c -o main.o main.cpp

        lex.DBConnector_.o: lex.DBConnector_.c DBConnector.tab.h
                g++ -g -c -o lex.DBConnector_.o lex.DBConnector_.c

        lex.DBConnector_.c: DBConnector.l
                flex DBConnector.l

        DBConnector.tab.o: DBConnector.tab.c
                g++ -g -c -o DBConnector.tab.o DBConnector.tab.c

        DBConnector.tab.c DBConnector.tab.h: DBConnector.y
                bison DBConnector.y


        .PHONY: clean
        clean:
                rm -f demo *.o
                rm -f DBConnector.tab.c DBConnector.tab.h
                rm -f lex.DBConnector_.c lex.DBConnector_.o



How can i compile(add) this sample into netbeans project...
Thanks...






[nbusers] compile with netbeans....

kubbe 10/15/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close