revamp Makefile
append, not replace, some variables
add a .gitignore file
begin splitting main.c
add VERSION_EXTRA