purduesigbots / pros

Source code for PROS kernel: open source C/C++ development for the VEX V5 microcontroller
https://pros.cs.purdue.edu
Other
259 stars 76 forks source link

Fixed "make all" failing when IS_LIBRARY:=1 #694

Open xcloudyunx opened 1 month ago

xcloudyunx commented 1 month ago

Summary:

Created the "bin" directory at the start when compiling a library

Motivation:

Not sure if this is the right place to modify this but currently, on a fresh project, changing to IS_LIBRARY:=1 in the Makefile and running pros make all will fail to compile. The issue is caused by not being able to find the "bin" folder.

Test Plan:

  1. Create a new project
  2. Change IS_LIBRARY:=1 in the Makefile
  3. Run pros make all
  4. Failure expected
  5. Update common.mk with changes
  6. Run pros make all
  7. Success expected