Have a standard Makefile template that gets edited for each new project or part thereof.
IDE systems may have their attractions, but usually don't like their editors, nor the plethora of config files. The more plain vanilla the better here, hence makefiles as the least hassle and most productive route. Need to have full visibility from top to bottom and some ide's can be pretty opaque.
Older versions of netbeans looked interesting though...
Chris