CXX = g++ CPPFLAGS = CXXFLAGS = -Wall -O LDLIBS = CC = $(CXX) LDFLAGS = $(CXXFLAGS) all: tago mago tago: tago.o source1.o source2.o source3.o mago: mago.o source1.o source2.o source4.o clean: rm -f make.dep *.o make.dep: *.cc g++ -MM $(CPPFLAGS) *.cc > make.dep -include make.dep