diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b09a07b --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +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