NEON-CONFIG(1) | neon API reference | NEON-CONFIG(1) |
neon-config - script providing information about installed copy of neon library
neon-config [--prefix] [[--cflags] | [--libs] | [--la-file] | [--support feature] | [--help] | [--version]]
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.
--cflags
--libs
--la-file
--version
--prefix dir
--support feature
--help
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
Joe Orton <neon@lists.manyfish.co.uk>
30 September 2016 | neon 0.30.2 |