문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top