Open 0mp opened 5 years ago
In order to make mtm easier to compile on a variety of operating systems, let's use more standard makefile flags:
This way, for example, mtm can be compiled on FreeBSD with the following command:
env CFLAGS="-I/usr/local/include -I/usr/local/include/ncurses" \ LDFLAGS=-L/usr/local/lib \ make clean all
Also, I did not touch the HEADERS variable as I do not understand its purpose.
Using pkg-config would make it even easier.
In order to make mtm easier to compile on a variety of operating systems, let's use more standard makefile flags:
This way, for example, mtm can be compiled on FreeBSD with the following command:
Also, I did not touch the HEADERS variable as I do not understand its purpose.