瀏覽代碼

[Makefile] prevent `make haxelib` causing haxe to rebuild

Can't write a proper Makefile because we're actually using dune...
Andy Li 5 年之前
父節點
當前提交
467eb8d2e3
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -100,7 +100,8 @@ copy_haxetoolkit: /cygdrive/c/HaxeToolkit/haxe/haxe.exe
 	cp $< $@
 endif
 
-haxelib: haxe
+# haxelib should depends on haxe, but we don't want to do that...
+haxelib:
 	(cd $(CURDIR)/extra/haxelib_src && $(CURDIR)/$(HAXE_OUTPUT) client.hxml && nekotools boot run.n)
 	mv extra/haxelib_src/run$(EXTENSION) $(HAXELIB_OUTPUT)
 
@@ -236,3 +237,6 @@ FORCE:
 	$(CC_CMD)
 
 .PHONY: haxe haxelib
+
+# our "all:" target doens't work in parallel mode
+.NOTPARALLEL: