>
> I had not noticed that it did build vidtest.exe even in the first case!? :)
> Anyway, here with trace:


Thank you. Yes, this is the MAIN entry detection code kicking in,
but I missed the case when no extension is given and the filename
gets passed to the detection routine as is, without .c extension.

Pls change line 1538 from this:
         tmp := iif( Lower( FN_ExtGet( s_cFIRST ) ) == ".prg", FN_ExtSet(
s_cFIRST, ".c" ), s_cFIRST )
to this:
         tmp := iif( Lower( FN_ExtGet( s_cFIRST ) ) == ".prg" .OR. Empty(
FN_ExtGet( s_cFIRST ) ), FN_ExtSet( s_cFIRST, ".c" ), s_cFIRST )

I'll commit a fix after getting some feedback on pending make file patch.

Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to