Alright, I am trying to improve the makefile. It works if I run it manually, but errored when I tried it with homebrew. The error was at [this line](https://github.com/andyli/haxe/blob/c40b57fec289a24a5b349afb66367fb60cf3f60e/Makefile#L92): 
```
==> make install INSTALL_BIN_DIR=/usr/local/Cellar/haxe/HEAD/bin INSTALL_LIB_DIR=/usr/local/Cellar/haxe/HEAD/lib/haxe
rm -f /usr/local/Cellar/haxe/HEAD/bin/haxe
cp haxe /usr/local/Cellar/haxe/HEAD/lib/haxe
ln -s /usr/local/Cellar/haxe/HEAD/lib/haxe/haxe /usr/local/Cellar/haxe/HEAD/bin/haxe
ln: /usr/local/Cellar/haxe/HEAD/bin/haxe: No such file or directory
make: *** [install] Error 1
```

Any idea?