Selaa lähdekoodia

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

Can't write a proper Makefile because we're actually using dune...
Andy Li 5 vuotta sitten
vanhempi
commit
02d7bda76d
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  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: