justinethier / cyclone

:cyclone: A brand-new compiler that allows practical application development using R7RS Scheme. We provide modern features and a stable system capable of generating fast native binaries.
http://justinethier.github.io/cyclone/
MIT License
823 stars 42 forks source link

Makefile: Add `-A libs` to CYCLONE_LOCAL #479

Closed nmeum closed 3 years ago

nmeum commented 3 years ago

Otherwise make libs cannot find (cyclone test):

./cyclone -A . -COPT '-Iinclude' -CLNK '-L.' libs/cyclone/test.sld
Error: Unable to open file: "/usr/lib/cyclone/cyclone/test.scm"

make: *** [Makefile:170: libs/cyclone/test.o] Error

Testing Procedure:

  1. Install a pre-compiled cyclone version globally (for CYCLONE_SYSTEM)
  2. Run make cyclone
  3. Uninstall the global cyclone version (should not be needed after this step)
  4. Run make libs fails without this commit, should pass with it
  5. Run make icyc