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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
General:
->tools / compiler options / directories
Project:
Project options / files directories
Patrick
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.
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.