<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hello,</p>
<p style="margin-top:0;margin-bottom:0">Not sure what is going on with my makefile on BSD. Works 100% on the command line in ubuntu. Here's my makefile contents:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>CC=gcc<br>
CFLAGS= -g -Wall -Werror<br>
DEPS = headers.h functions.h<br>
OBJ = ls.o LongFormat.o PrintDirectory.o PrintTimeFormats.o SortFileSize.o<br>
<br>
%.o: %.c $(DEPS)<br>
&nbsp;&nbsp; &nbsp;$(CC) -c -o $@ $&lt; $(CFLAGS)<br>
<br>
ls: $(OBJ)<br>
&nbsp;&nbsp; &nbsp;$(CC) -o $@ $^ $(CFLAGS)<br>
clean:<br>
&nbsp;&nbsp; &nbsp;rm -f ls *.o</div>
<p></p>
<p style="margin-top:0;margin-bottom:0">when I type make I get the following:</p>
<p style="margin-top:0;margin-bottom:0"><span>make: don't know how to make %.c. Stop</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Has anyone had the same issue?<br>
</span></p>
<p style="margin-top:0;margin-bottom:0">Marlon<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
</body>
</html>