Menu

About set path in compile enviroment?

2003-01-06
2012-09-26
  • Nobody/Anonymous

    Hi:
        I have a question about path, could you help me?
        I have a lot of source code.
        I build it as a project and include its makefile in DEV-C++.
        But the makefile uses many set the path variables, the variables setup in a batch file.
         I don't want to cahnge any in this makefile.
         How can I add this path of variables in the project?
         Thanks for your question.
            Frank.
        

     
    • Patrick Ogay

      Patrick Ogay - 2003-01-06

      General:
      ->tools / compiler options / directories 
      Project:
      Project options / files directories

      Patrick

       
    • Nobody/Anonymous

      Thanks for your answer.
      Acctually the compile can't know the path variable.
        ex.
               TGT_DIR         = $(WIND_BASE)/target
               in the makefile.
               But the compiler can't know this WIND_BASE variable.
               The original designer set this in the batch file, so his compile know that.
               I can also add "WIND_BASE = c:/windbase" in the makefile.
               But I don't want to modify any more in the makefile.
               How could I add this in the DEV-C++?
               If I set the following method
                  General:
      ->tools / compiler options / directories
      Project:
      Project options / files directories
               The compiler also can't know the path.
               Thanks.
                             Frank.

       
    • Nobody/Anonymous

      Thanks for your answer.
      Acctually the compile can't know the path variable.
        ex.
               TGT_DIR         = $(WIND_BASE)/target
               in the makefile.
               But the compiler can't know this WIND_BASE variable.
               The original designer set this in the batch file, so his compile know that.
               I can also add "WIND_BASE = c:/windbase" in the makefile.
               But I don't want to modify any more in the makefile.
               How could I add this in the DEV-C++?
               If I set the following method
                  General:
      ->tools / compiler options / directories
      Project:
      Project options / files directories
               The compiler also can't know the path.
               Thanks.
                             Frank.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.