From: Hugo Villeneuve Date: Mon, 2 Dec 2013 04:33:18 +0000 (-0500) Subject: Fix bug when using separate build directory to create symbolic link X-Git-Tag: v2.0.0~33 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=187e9a2c6c08a2fcc08693c16b67cea0841913be;p=emu8051.git Fix bug when using separate build directory to create symbolic link --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 82863a6..6caffd7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -25,13 +25,14 @@ TESTS = \ # Tell make how to generate a .sh file after a .hex file is generated: .hex.sh: - @ln -sf opcodes.sh $@ + @ln -sf $(srcdir)/opcodes.sh $@ # Tell make how to generate a .hex file from a .asm source file. # Warning: make distcheck will fail because asem doesn't have option to specify # output filename (and path): .asm.hex: $(AS51) $< + else TESTS = endif