-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build process should have a way to do a clean build/full rebuild #9
Comments
Please take a look a my fork of pcmos386. Since I have little knowledge of git I do not know how to say it better but to give an exact path to the file that has the relevant info I removed majority of *.bat files and rely on makefiles instead. |
You seem to be suggesting Borland make. |
I use make from Borland C++ 4.5 with no problems but I modified some makefiles to avoid command line too long message which seems to be a limitation of command.com. |
But when you build MOS with ms-make |
Stale, out of date. Closing. |
The Git repository contains not only sources but also most or all of the binaries generated by running
MAKEMOS.BAT
. This means that whenMAKEMOS.BAT
is run from a clean Git repository, most targets are not rebuilt, because the source files and binaries will all have the same timestamps.I believe that the reason some targets are still rebuilt is the renaming covered by issues #6 and #7 -
SOURCES/src/mos5src/MAKEUTIL.MAK
declares targets such as_286n.sys
, but the Git repository contains the renamed version$286N.SYS
instead, somake
will actually generate that target (and the other ones that have_
or__
prefixes) every time it is run (except that issue #7 causes the subsequent build to fail due to the renaming affecting source files too).The fact that some targets were being rebuilt initially made me think that everything was being built, but I later realised that there are other targets which aren't being rebuilt.
It would be nice if there was a simple way to either force everything to be rebuilt, or remove all of the generated output files as
make clean
does in many projects.Adding
-u
options to themake
command lines inMAKEMOS.BAT
forcesmake
to (attempt to) rebuild everything.The text was updated successfully, but these errors were encountered: