how to make makefiles in unix with vi editor <pre><code>assignment1: treecomp.h treefunction.c assignment1.c gcc -Wall -ansi -o assignment1.c treecomp.h treefunction.c </code></pre> <p>I typed in just the two lines above in unix vi editor.</p> <p>Is this correct to make makefiles?</p> <p>When I type in make in the command line, it doesn't make one.</p> <p>Can anyone tell me how to make makfile?</p> <p>I've been watching one of the youtube videos that shows you how to make makefilles and followed that but doesn't work.</p>