Meaning of "cflags"
Tollef Fog Heen
tfheen at err.no
Sun Feb 24 22:55:53 PST 2008
* Daniel Macks
| On Mon, Feb 25, 2008 at 07:17:05AM +0100, Tollef Fog Heen wrote:
| > * Daniel Macks
| >
| > | Actually, that original isn't even functionally correct, because the
| > | Makefile target is "program" but there's no flag to cc to override the
| > | default output of "a.out".
| >
| > -o ?
|
| Right. *I* know how it *could* be done. My point is that the manpage
| is wrong ("there's no" refers to the example, not the compiler
| itself). The -o flag is not used:
|
| program: program.c
| cc program.c `pkg-config --cflags --libs gnomeui`
Oh, sorry, I didn't see you were referring to the manpage. Please
file a bug about this and I'll get it fixed in the next release.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
More information about the pkg-config
mailing list