소스 검색

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

Can't write a proper Makefile because we're actually using dune...
Andy Li 5 년 전
부모
커밋
02d7bda76d
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: