Yeah, yeah, yeah, IDEs are good for complex and long code.
But here's a Makefile I have which I modified from a C-syntax Makefile so I have no idea if it's good practice.
Basically, the compiler no longer complains about unused or unitialized values and I want it to because I'm bad a programming like that.
Code:MKFILE = Makefile GCC = g++ -g -O3 -W -Wall -Wextra -lpthread CSOURCE = main.cpp CHEADER = structures.h OBJECTS = ${CSOURCE:.cpp=.o} EXECBIN = regulus all : ${EXECBIN} ${EXECBIN} : ${OBJECTS} ${GCC} -o $@ ${OBJECTS} -lm %.o : %.c ${GCC} -c $< clean : - rm ${OBJECTS} ${EXECBIN} again : ${MAKE} clean all