aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/qemu-src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qemu-src/Makefile')
-rw-r--r--tools/qemu-src/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/qemu-src/Makefile b/tools/qemu-src/Makefile
new file mode 100644
index 0000000..1d21811
--- /dev/null
+++ b/tools/qemu-src/Makefile
@@ -0,0 +1,9 @@
+test: test.s
+ as -o test.o test.s
+ ld -o test test.o testc.o
+
+trace: test
+ qemu-x86_64 -singlestep -d nochain,cpu ./test 2>&1 | awk '/RIP/ { print $$1; }'
+
+clean:
+ $(RM) test test-bin test.o