Question

I'm trying to understand how I can write my own makefile for a wxWidgets application. I'm using MinGW on Windows and have already compiled wxWidgets.

Can somebody give me an example makefile which sets include directories for wxWidgets and works for multiple header and source files?

Was it helpful?

Solution

The options you must use to compile your own applications are described in the last section of docs/msw/install.txt file in your wxWidgets installation.

You can also look at the beginning of any makefile.gcc under samples directory, e.g. this one to see the options you need to set, but there will be a lot of things you don't need there.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top