• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Some Makefile help

Replicon

Member
So I wrote this makefile that I like to use, but I'd like to see if there's a better way to do one part. A key component of my Makefile is to find every cpp file in some directory (recursively), and preserve the path.

Now, I'm trying to port this so it works both in linux and in windows, as a Dev-C++ Makefile. The one problem is that first line, which relies on linux shell commands. Assuming I really don't want to have my makefile depend on cygwin being installed, is there a more "makefile" way (using just the GNU make builtins) to get this same effect?

thanks!

This is how I currently handle it (simplifie version):
 
Back
Top