From: Clifford Wolf Date: Thu, 11 Jun 2015 13:48:40 +0000 (+0200) Subject: Makefile fix for YosysJS build X-Git-Tag: yosys-0.6~259 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=285f140f60e9036d8a6bc7d5d2c6983b7c873441;p=yosys.git Makefile fix for YosysJS build --- diff --git a/Makefile b/Makefile index c7626c70d..3c1344180 100644 --- a/Makefile +++ b/Makefile @@ -281,6 +281,10 @@ top-all: $(TARGETS) $(EXTRA_TARGETS) @echo " Build successful." @echo "" +ifeq ($(CONFIG),emcc) +yosys.js: $(filter-out yosysjs-$(YOSYS_VER).zip,$(EXTRA_TARGETS)) +endif + yosys$(EXE): $(OBJS) $(P) $(CXX) -o yosys$(EXE) $(LDFLAGS) $(OBJS) $(LDLIBS)