frame-machine/Makefile

16 lines
278 B
Makefile
Raw Normal View History

2018-04-12 13:31:48 +02:00
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