NEON-CONFIG(1) | neon API reference | NEON-CONFIG(1) |
NAME¶
neon-config - script providing information about installed copy of neon library
SYNOPSIS¶
neon-config [--prefix] [[--cflags] | [--libs] | [--la-file] | [--support feature] | [--help] | [--version]]
DESCRIPTION¶
The neon-config script provides information about an installed copy of the neon library. The --cflags and --libs options instruct how to compile and link an application against the library; the --version and --support options can help determine whether the library meets the applications requirements.
OPTIONS¶
--cflags
--libs
--la-file
--version
--prefix dir
--support feature
--help
EXAMPLE¶
Below is a Makefile fragment which could be used to build an application against an installed neon library, when the neon-config script can be found in $PATH.
CFLAGS = `neon-config --cflags` LIBS = `neon-config --libs` OBJECTS = myapp.o TARGET = myapp $(TARGET): $(OBJECTS) $(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) myapp.o: myapp.c $(CC) $(CFLAGS) -c myapp.c -o myapp.o
AUTHOR¶
Joe Orton
COPYRIGHT¶
21 January 2023 | neon 0.32.5 |