Re: Compile problem with 1943
- Posted by mattlewis (admin) Apr 18, 2009
- 811 views
If you need to do a make clean to get consistent results then your Makefile has an issue. You need to have the dependencies set properly in the Makefile. I never need to do a 'wmake -f makefile.wat clean' with Windows. Maybe we should standardize with watcom-make...
It's rarely necessary with GNU make either. I'm pretty sure that at some point it made sure to remove all the *.c files in the target translator directory, but there have been a lot of regressions within the GNU makefile (usually due to changes related to djgpp issues). This is probably one of them.
I think the plan is to start using the makefile option when translating, and get the dependencies from there. The downside is that I believe it requires yet another recursive call to make. I could be wrong on that.
I can't figure out what you mean by 'standardize on watcom-make.'
Matt