Hi Jason! Is there any good resources you'd recommend on creating makefiles? I just learned about this today and I am fascinated by it! However, based on your suggested structure for a project, I don't know really know how to write rules in the makefile for grabbing files that are in include and src.
Any suggestion would be greatly appreciated! I am a beginner in c++.
Lily
Afraid I don't have anything formal. I've kinda figured out Makefiles by experimentation and fragments of examples over the years.
If you want, you can take a look at MousePaw Media's documentation on our C/C++ build system, which combines CMake and Makefiles. The system is a bit unconventional, but it works extraordinarily well.
Hi Jason! Is there any good resources you'd recommend on creating makefiles? I just learned about this today and I am fascinated by it! However, based on your suggested structure for a project, I don't know really know how to write rules in the makefile for grabbing files that are in include and src.
Any suggestion would be greatly appreciated! I am a beginner in c++.
Lily
Afraid I don't have anything formal. I've kinda figured out Makefiles by experimentation and fragments of examples over the years.
If you want, you can take a look at MousePaw Media's documentation on our C/C++ build system, which combines CMake and Makefiles. The system is a bit unconventional, but it works extraordinarily well.
mousepawmedia.net/rmd/buildsystem/...
NOTE: The information on that link is a draft, and is subject to change.
Thank you for the reply Jason!! Really appreciated! I'll take a look at what you suggested :)