This will install to whatever the makefile's default directory is. Homebrew installs software into versioned isolated prefixes, then symlinks into Homebrew's own prefix. This needs to be made to install into the right location.

Might be as simple as

```ruby
system "make", "install", "PREFIX=#{prefix}"
```