2013-12-11 04:58:09 +00:00
|
|
|
CXXFLAGS=-g -std=c++11
|
2013-12-03 13:32:05 +00:00
|
|
|
|
2013-11-26 04:14:22 +00:00
|
|
|
all: v6502
|
|
|
|
|
2013-12-12 22:05:33 +00:00
|
|
|
v6502: v6502.o cpu.o nodes.o trans.o SegmentCache.o TransNetwork.o Trace.o
|
2013-11-26 04:14:22 +00:00
|
|
|
g++ $^ -o $@
|
|
|
|
|
2013-12-11 22:13:46 +00:00
|
|
|
v6502.o: v6502.cpp cpu.h addressbus.h TransNetwork.h
|
2013-11-26 04:14:22 +00:00
|
|
|
|
|
|
|
cpu.o: cpu.cpp cpu.h addressbus.h nodes.h
|
|
|
|
|
2013-12-10 00:17:26 +00:00
|
|
|
nodes.o: nodes.cpp nodes.h
|
|
|
|
|
2013-12-12 13:37:45 +00:00
|
|
|
trans.o: trans.cpp trans.h
|
2013-12-11 22:13:46 +00:00
|
|
|
|
|
|
|
SegmentCache.o: SegmentCache.cpp SegmentCache.h
|
|
|
|
|
|
|
|
TransNetwork.o: TransNetwork.cpp TransNetwork.h trans.h
|
2013-12-11 04:58:09 +00:00
|
|
|
|
2013-12-12 22:05:33 +00:00
|
|
|
Trace.o: Trace.cpp Trace.h SegmentCache.h
|
|
|
|
|
2013-11-26 04:14:22 +00:00
|
|
|
clean:
|
2013-11-26 06:21:17 +00:00
|
|
|
-rm *.o
|
|
|
|
-rm v6502
|
2013-12-12 13:37:45 +00:00
|
|
|
-rm v6502.exe
|