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-11 04:58:09 +00:00
|
|
|
v6502: v6502.o cpu.o nodes.o SegmentCache.o
|
2013-11-26 04:14:22 +00:00
|
|
|
g++ $^ -o $@
|
|
|
|
|
|
|
|
v6502.o: v6502.cpp cpu.h addressbus.h
|
|
|
|
|
|
|
|
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-11 04:58:09 +00:00
|
|
|
SegmentCache.o : SegmentCache.cpp SegmentCache.h
|
|
|
|
|
2013-11-26 04:14:22 +00:00
|
|
|
clean:
|
2013-11-26 06:21:17 +00:00
|
|
|
-rm *.o
|
|
|
|
-rm v6502
|