CXX=g++ CXXFLAGS=-Wall -Wextra -O2 -g -rdynamic CXXLIBS=-ldwarfinterpret -ldl -ldwarf -ldwarfpp -lelf frame-machine.bin: frame-machine.o $(CXX) -o $@ $(CXXFLAGS) $< $(CXXLIBS) .PRECIOUS: %.o %.o: %.cpp $(CXX) $(CXXFLAGS) -c $< -o $@ .PHONY: clean clean: rm -rf *.o *.bin