]> localhost Git - glBoy.git/commitdiff
Perl script works!
authorMichael McMaster <email@michaelmcmaster.name>
Wed, 29 Dec 2010 00:05:52 +0000 (10:05 +1000)
committerMichael McMaster <email@michaelmcmaster.name>
Wed, 29 Dec 2010 00:05:52 +0000 (10:05 +1000)
DAA.hh [new file with mode: 0644]
Makefile [new file with mode: 0644]
makeOpcodes.pl [new file with mode: 0644]

diff --git a/DAA.hh b/DAA.hh
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..f897cc6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+
+mm80: InstructionSet_Opcodes.cc ALU.cc Core.cc Memory.cc Registers.cc
+       g++ -std=c++0x -I. -o $@ $^
+
+InstructionSet_Opcodes.cc: InstructionSet.opcode makeOpcodes.pl
+       perl ./makeOpcodes.pl
+
+test: InstructionSet_Opcodes.cc Test.cc
+       g++ -std=c++0x -I.  -o $@ Test.cc
diff --git a/makeOpcodes.pl b/makeOpcodes.pl
new file mode 100644 (file)
index 0000000..e69de29