<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span>Dobry den,</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span>vas Makefile je v poradku.</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span>make obsahuje implicit rule:</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color:
 transparent; font-style: normal;"><span style="background-color: transparent;">&nbsp; &nbsp; { "%", "s.%",</span><br></div><div style="background-color: transparent;"><span><div style="background-color: transparent;"><span class="Apple-tab-span" style="white-space: pre;">        </span>"$(GET) $(GFLAGS) $(SCCS_OUTPUT_OPTION) $&lt;" }</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">vid make -p<br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><br></div></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span style="background-color: transparent;">reseni je v Makefile pouzit target .PHONY:</span><br></div><div style="font-family: 'times new roman', 'new york', times, serif;
 font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">.PHONY: bin</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;">nebo spoustet make s prepinacem -r</span><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">make -r</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">taky jine suffixy nez '.bin' by nefungovali, napr '.asdf'</div><div style="font-family: 'times new
 roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Radovan Augustin</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Jan Waclawek &lt;konfera@efton.sk&gt;<br> <b><span style="font-weight: bold;">To:</span></b> HW-news &lt;hw-list@list.hw.cz&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b>
 Thursday, May 9, 2013 2:26 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> pre fanusikov make<br> </font> </div> <div class="y_msg_container"><br>Co je zle na tomto makefile? Tabulatory su tam, kde treba. Preco nestaci<br>napisat "make", a musim napisat "make s.bin" aby mi to vyrobilo ten s.bin?<br>Ak do TARGET dam nieco ine, napr. "TARGET=t", tak "make" vytvori bez reci<br>t.bin.<br><br>(Podotykam, ze som to sam nedokazal vyriesit, musel mi napovedat kolega).<br><br>wek<br><br><br><br>-----<br><br>TARGET=s<br><br>all: bin<br><br>bin: $(TARGET).bin<br><br>%.bin : <br>&nbsp;&nbsp;&nbsp; @echo "Making $@"<br>&nbsp;&nbsp;&nbsp; @echo $@ &gt; $@<br><br>-----<br><br>c:\wek\SMO\tmp\tmp&gt;make --version<br>GNU Make 3.81<br>Copyright (C) 2006&nbsp; Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions.<br>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A<br>PARTICULAR
 PURPOSE.<br><br>This program built for i386-pc-mingw32<br><br>c:\wek\SMO\tmp\tmp&gt;cat makefile<br>TARGET=s<br><br>all: bin<br><br>bin: $(TARGET).bin<br><br>%.bin :<br>&nbsp; &nbsp; &nbsp; &nbsp; @echo "Making $@"<br>&nbsp; &nbsp; &nbsp; &nbsp; @echo $@ &gt; $@<br><br><br>c:\wek\SMO\tmp\tmp&gt;make<br>make: *** No rule to make target `s.bin', needed by `bin'.&nbsp; Stop.<br><br>c:\wek\SMO\tmp\tmp&gt;make s.bin<br>Making s.bin<br><br>c:\wek\SMO\tmp\tmp&gt;<br><br><br>_______________________________________________<br>HW-list mailing list&nbsp; -&nbsp; sponsored by www.HW.cz<br><a ymailto="mailto:Hw-list@list.hw.cz" href="mailto:Hw-list@list.hw.cz">Hw-list@list.hw.cz</a><br><a href="http://list.hw.cz/mailman/listinfo/hw-list" target="_blank">http://list.hw.cz/mailman/listinfo/hw-list</a><br><br></div> </div> </div>  </div></body></html>