shinh / elvm

EsoLangVM Compiler Infrastructure
MIT License
1.13k stars 143 forks source link

Reduce bins #42

Closed yuta-aoyagi closed 7 years ago

yuta-aoyagi commented 7 years ago

Each target depends on all of BINS in Makefile. This pull request reduces dependency on especially out/tm and tinycc.

My original motivation was building and running ELVM on Cygwin. My Cygwin environment fails to build tools/tm.cc and tinycc for the current master branch. But not everyone need to build them because only a few targets really need them. I could build and run ELVM on Cygwin by commented out out/tm and tinycc from the BINS line in Makefile. I wrote this pull request because I think moving the dependency to appropriate place is much better than just commenting out them.

shinh commented 7 years ago

Looks great, thanks!