This pull requests adds the cross-compilation build for Windows to the Travis configuration. Additionally, the Linux and the Windows (by WINE) version of pktriggercord-cli are called with the version option as a very simple test of the build.
I also reorganized the Windows part of the Makefile so the the command line tool can be compiled separately.
The purpose of these changes is the following suggestion to reorganize the Makefile. I think the object files and the final executables for the different operating systems should be build in separate directory. This would avoid the need to call make clean between the different builds. Also at the moment the directory structure is very flat with all source files/man page files etc. in on folder level.
With Travis now executing all builds, such a reorganization should be possible more easily.
This pull requests adds the cross-compilation build for Windows to the Travis configuration. Additionally, the Linux and the Windows (by WINE) version of pktriggercord-cli are called with the version option as a very simple test of the build.
I also reorganized the Windows part of the Makefile so the the command line tool can be compiled separately.
The purpose of these changes is the following suggestion to reorganize the Makefile. I think the object files and the final executables for the different operating systems should be build in separate directory. This would avoid the need to call make clean between the different builds. Also at the moment the directory structure is very flat with all source files/man page files etc. in on folder level.
With Travis now executing all builds, such a reorganization should be possible more easily.