Software Development with C++: Introduction to GNU make and Makefiles

Поділитися
Вставка
  • Опубліковано 18 жов 2024
  • In this video we look at the basics of GNU make and Makefiles!
    GNU make Documentation: www.gnu.org/so...
    For code samples: github.com/coff...
    For live content: / coffeebeforearch

КОМЕНТАРІ • 4

  • @hengjiuxiao
    @hengjiuxiao Рік тому +1

    For make print_add, you mentioned that it will automatically track the dependencies for us. Does that mean (prior) instructions that have no dependencies will not be ran?
    Thanks for the informative video.

    • @CoffeeBeforeArch
      @CoffeeBeforeArch  Рік тому

      If you run make , make will run the rule for that and any rules that generate prerequisites for that target. If there is another rule in the Makefile that is not being directly run, and does not generate a prerequisite for the specified target, it will not be run.

  • @jw200
    @jw200 Рік тому +3

    Useful.
    Thanks