REhints / HexRaysCodeXplorer

Hex-Rays Decompiler plugin for better code navigation
2.41k stars 388 forks source link

Create a proper working Linux makefile #39

Closed pedrib closed 7 years ago

pedrib commented 7 years ago

This PR creates a proper Linux makefile. I didn't remove the Linux targets from the old makefile, as I don't want to break the Mac builds - I also think the Mac builds need some love, but I don't have a Mac.

This new makefile builds correctly HexRaysCodeXplorer on Linux, to build for 32 bit simply set EA64=0, for 64 bit set EA64=1. To build use make -f makefile.lnx.

Tested and working for both 32 and 64 bit.

pedrib commented 7 years ago

I've removed the pro.a library from the build. According to Ilfak it's not needed, see https://forum.hex-rays.com/viewtopic.php?f=6&t=4224

matrosov commented 7 years ago

Thanks for your contribution!