wxWidgets Logo
 
 

Docs

 
  Tutorials
FAQ
Licence
 
 
Unix Ports FAQ

See also top-level FAQ page.


List of questions in this category


How do I write a Unix makefile for my program?

The simplest way to write a makefile is to copy samples/minimal/makefile.unx from the wxWidgets distribution and adapt it to your needs. Notice that you should not use Makefile file from the same directory as it only works for the samples because it assumes that the program being built is inside wxWidgets source tree.

The makefile.unx files use wx-config instead and are more flexible. The minimal makefile has comments inside it explaining how to adapt it for your program.

 
 

Quick Links

 
  Documentation
Hello, world!
Stable manual
Latest manual
Change log

Community

Mailing Lists
wxBlog
wxCode (Add-ons)
wxForum
wxWiki

Development

Sources
wxTrac
New ticket
Roadmap
 
 
 
 

wxSolutions

 
   
 
 
 

wxBook

 
 

Buy it From:
Amazon.com
Amazon.co.uk

 
 

Site design and update scripts by Kevin Ollivier, with special thanks to Brad Anderson for his improvements to the sidebar, intro table and navbar designs, Bryan Petty for the new wxWidgets blocks graphics and logo text, and to the wxWidgets community for all their helpful suggestions, comments and testing!