summaryrefslogtreecommitdiff
path: root/util/m5/Makefile
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2003-11-01 13:20:44 -0500
committerNathan Binkert <binkertn@umich.edu>2003-11-01 13:20:44 -0500
commit15613161c28591ca1a40d019a1568f01d68d5743 (patch)
treed8295505ea60b4138349f9ab026a8b26fd491b99 /util/m5/Makefile
parent166def1f5663bda1766b003fab4c46bc905fdb8d (diff)
downloadgem5-15613161c28591ca1a40d019a1568f01d68d5743.tar.xz
Commit a command for use inside a simulated system for communicating
with the simulator. This program is generally compiled as the name m5 and installed in /usr/local/bin This command uses opcodes that are invalid on a normal system, so don't expect it to do anything on a real system. --HG-- extra : convert_revision : fcbae99d4b0d38ff4a9950f1ab53923baa1f667a
Diffstat (limited to 'util/m5/Makefile')
-rw-r--r--util/m5/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/util/m5/Makefile b/util/m5/Makefile
new file mode 100644
index 000000000..f77a6cac3
--- /dev/null
+++ b/util/m5/Makefile
@@ -0,0 +1,13 @@
+all: m5
+
+m5: m5.o m5op.o
+ cc -o m5 m5.o m5op.o
+
+m5op.o: m5op.s
+ as -o m5op.o m5op.s
+
+m5.o: m5.c
+ cc -c -o m5.o m5.c
+
+clean:
+ @rm -f m5 *.o *~