Add Makefile
This commit is contained in:
parent
48e08d0eda
commit
b78f3abdab
1 changed files with 15 additions and 0 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
@ -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
|
Loading…
Reference in a new issue