From 3f1d25c3e62f91f2555f0649c7c71f3b730717be Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 5 Feb 2023 17:35:44 +0000 Subject: deploy: 724d077860e103631605f09a7de35e3ad8796f56 --- tools/qemu-src/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tools/qemu-src/Makefile (limited to 'tools/qemu-src/Makefile') 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 -- cgit v1.2.3