OBJS = # place the name of executables you wish to buld on the above line seperated by spaces. # OBJS = ChiTest CXXFLAGS = -g -O2 -Wall -Wextra -Wpedantic -Werror --std=c++20 -Wnon-virtual-dtor -Wold-style-cast -Wunused-parameter -Wuninitialized -Winit-self -Wshadow -Wparentheses -Wdangling-else all: ${OBJS} Die.o: Die.h # if ChiT.h is needed to build ChiT.o add the folowing line # ChiT.o: ChiT.h # if ChiT.o and Die.o is needed to build ChiTest add the following # ChiTest: Die.o ChiT.o clean: rm -f ${OBJS} *.o