agsinject: add -t (timestamp) option
commitccf65fb76133912de282856f9ee1378db5da8d0d
authorrofl0r <rofl0r@users.noreply.github.com>
Sun, 1 Dec 2019 20:00:40 +0000 (1 20:00 +0000)
committerrofl0r <rofl0r@users.noreply.github.com>
Sun, 1 Dec 2019 20:00:40 +0000 (1 20:00 +0000)
tree9272075e74de2ce75515112e6b524e20b1752779
parent98c3b53f645031d8341f48528fef8b41eb546122
agsinject: add -t (timestamp) option

since many ags games are huge, injecting dozens of scripts into
main script data file (game28.dta/ac2game.dta) takes a very
long time.
due to the way makefiles work, the one generated by agsex is unable
to determine which obj of the prerequisites to datafile changed.

by adding timestamp checks to agsinject, one can always pass the full
list of prerequisites to agsinject and it will only inject those that
changed.
agsinject.c