#include <stdio.h> int main(int argc, char **argv) { printf("hello world\n"); return 0; }
PROJECT_NAME=testprog OBJDIR=obj SRC=main.cpp # by default, compile just the debug version all: progg # rule to compile the debug version debug: progg # rule to compile the optimized version opt: progo # rule to compile the profiling version prof: progp include $(G)/lib/Make.gfxtools.rules -include Makefile.depend