Jump to content

Makefiles is a nightmare, how to avoid them, SOLUTION


Recommended Posts

Recently I discovered how to avoid Makefiles for projects that required lib linking, lots of cpp and header files.

 

just a simple solution 

 

my main.cpp file just contains

 

#include SOP_mySop.cpp

#include file01.cpp

#include file02.cpp

#include file03.cpp

#include file04.cpp

 

now just execute hcustom main.cpp and everything is fine

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

 

Recently I discovered how to avoid Makefiles for projects that required lib linking, lots of cpp and header files.
 
just a simple solution 
 
my main.cpp file just contains
 
#include SOP_mySop.cpp
#include file01.cpp
#include file02.cpp
#include file03.cpp
#include file04.cpp
 
now just execute hcustom main.cpp and everything is fine

 

I'm not quite understand, how including source code, can help with linking, especially when linking with 3rd party libs? Also makefiles can do much much more. Maybe in case of hcustom it helps.....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...