libui/buildnotes

44 lines
807 B
Plaintext

HOW TO BUILD
Simply type
make [variables...]
The build-time settings are
OS=xxx
default operating system
supported OSs are
windows
unix
darwin
haiku
this is autodetected by default
CFLAGS=xxx
CXXFLAGS=xxx
LDFLAGS=xxx
compiler flags
this is where you can specify -m32 or -m64, for instance
Objective-C uses $(CFLAGS)
RELEASE=xxx
set to 1 to disable debug symbols
must be 1, any other value means "include debug symbols"
TODO separate debug symbols from debug runtime
PREFIX=xxx
TODO
DESTDIR=xxx
applied before PREFIX; used by Debian
To build the test program use
make [variables....] test
The variables are the same as above.
To build an example, use
make EXAMPLE=name [variables...] example
You must specify the example name.
TODO discuss the internals