I\'ve looking to find a simple recommended \"minimal\" c++ makefile for linux which will use g++ to compile and link a single file and h file. Ideally the make file will not
a fairly small GNU Makefile, using predefined rules and auto-deps:
CC=c++ CXXFLAGS=-g -Wall -Wextra -MMD LDLIBS=-lm program: program.o sub.o clean: $(RM) *.o *.d program -include $(wildcard *.d)