ncibtep@nih.gov

Bioinformatics Training and Education Program

BTEP Question Forum

BTEP maintains several Question and Answer Forums of interest to the NCI/CCR community.
Currently, there are forums on these topics listed below:

If you wish to ask a question go to the Ask Question Page and submit your question.

 Back to Questions

Makefile target command problems

Hi All, I've tried the Using Makefiles: What is a makefile section but was unable to execute the "foo" and "bar" targets properly. I have attached a screen grab of what I tried to do. I kept getting a command not found error.. Does anyone know where I went wrong? I've tried adding 'makefile' in front and I get the same error message.   Thanks in advance! Jo

1

1 Answer:


Hi Jo,   Using and writing Makefiles is a bit more of an advanced concept and is something that won’t be covered in great detail at this stage of the course.    All you need to know for now is that Makefiles are not commands to write on the command line, but rather, they are files that you write that contains instructions ("targets") that tell the computer to do things (think of a Makefile as a collection of commands or scripts contained in a single file).   There are many ways that bioinformaticians keep track of and organize their work/analyses, and Makefiles are one of them.    


Answered on April 16th, 2020 by