summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4c650154372cc6e5f68ed1b048d7c7d9fa8d7045 (plain)
1
2
3
4
5
6
7
8
9
10
DEPS := $(OBJS:.o=.d)

-include $(DEPS)

debugger: instruction.o reg.o test_loader.o
	g++ -o $@ $^

%.o: %.cpp
	$(CXX)  -MM -MF $(patsubst %.o,%.d,$@) $<
	$(CXX) $(CXXFLAGS) -o $@ -c $<