diff options
Diffstat (limited to 'mcs/jay/Makefile')
-rw-r--r-- | mcs/jay/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/jay/Makefile b/mcs/jay/Makefile index 70f6602e45f..1af6867ad7b 100644 --- a/mcs/jay/Makefile +++ b/mcs/jay/Makefile @@ -46,8 +46,17 @@ dist-local: dist-default test-local run-test-local run-test-ondotnet-local doc-update-local: +ifndef ENABLE_MSVC_ONLY + jay: $(sources:.c=.o) $(CCOMPILE) $(LDFLAGS) -o $@ $^ %.o: %.c $(CCOMPILE) $(JAY_CFLAGS) -c -o $@ $^ + +else # !ENABLE_MSVC_ONLY + +jay: + make -C $(topdir)/../msvc jay + +endif # !ENABLE_MSVC_ONLY |