summaryrefslogtreecommitdiff
path: root/tests/checkasm/x86/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/checkasm/x86/Makefile')
-rw-r--r--tests/checkasm/x86/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/checkasm/x86/Makefile b/tests/checkasm/x86/Makefile
new file mode 100644
index 0000000000..0254c61935
--- /dev/null
+++ b/tests/checkasm/x86/Makefile
@@ -0,0 +1,6 @@
+CHECKASMOBJS-$(HAVE_YASM) += x86/checkasm.o
+
+tests/checkasm/x86/%.o: tests/checkasm/x86/%.asm
+ $(DEPYASM) $(YASMFLAGS) -I $(<D)/ -M -o $@ $< > $(@:.o=.d)
+ $(YASM) $(YASMFLAGS) -I $(<D)/ -o $@ $<
+ -$(STRIP) $(STRIPFLAGS) $@