Makefile Templates

June 5, 2015 at 12:49 pm

When I write software, normally I just copy in one of my previously-written Makefiles as a template, make a few slight modifications, and then just use make to compile and clean the program. A while ago I was playing around with Bison and Flex, so I wrote a Makefile to easily compile those as well. As I continue to write Makefiles for different languages I use, I'll put them here in case somebody else finds them useful.

Makefiles
C
C++
Flex and Bison
Flex and Bison (v2)