LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How can I use "Makefile.in" for building an executable program? (https://www.linuxquestions.org/questions/linux-networking-3/how-can-i-use-makefile-in-for-building-an-executable-program-229198/)

wuzhong 09-11-2004 01:02 AM

How can I use "Makefile.in" for building an executable program?
 
There is a file "Makefile.in" in the folder with the package ncftp.As the position of the file is "./ncftp/sh_uil/Makefile.in",I use the command "make ./Makefile.in". The echo is "make:Noting to be done for Makefile.in".

So what should I type if I want to build the program "ncftpls".

Thank you!

MidnightCmdr 10-06-2004 10:00 AM

If you look, there's probably a script in that directory called "configure". What you need to do is run it, and it will generate a Makefile (useable by make) from the Makefile.in. Like so:

./configure

Run it with --help to get a (probably long) list of options that will affect the way the Makefile is generated.


All times are GMT -5. The time now is 11:48 PM.