leahneukirchen / redo-c

An implementation of the redo build system in portable C with zero dependencies
105 stars 12 forks source link

Incorporating sourcefile() call inside check_deps() #17

Closed AndreyDobrovolskyOdessa closed 3 years ago

AndreyDobrovolskyOdessa commented 3 years ago

Now sourcefile() is called from inside check_deps() only. Simplifies skip[] assignment logics in redo_ifchange().

AndreyDobrovolskyOdessa commented 3 years ago

Hi, Leah! The purpose of this patch is not to solve any problem, but to simplify skip[] assignment logics in redo_ifchange(), avoid additional sourcefile() invocations in the redo_ifchange() while() loop and maybe in advance to get rid of variable-size skip[] array.