Follow-up Comment #8, bug #27609 (project make):
I was just burned by this again! I have a small project with "hc.l" lexer, and
a "hc.c" source file. It's been working fine.
My Makefile was generating lex.yy.c from hc.l, compiling hc.c to hc.o, and
lex.yy.c to lex.yy.o, and linking everything.
All of a sudden though, for some reason, an internal rule in make kicked in
and did this:
lex -t hc.l > hc.c
oops, my source file is gone; all I have is the most recent git repo copy
which doesn't have all my recent work.
Is this is another POSIX-required misfeature?
This is the sort of thing for which Stallman invented --posix-me-harder.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27609>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make