Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sdl-config(1) [centos man page]

sdl-config(1)						      General Commands Manual						     sdl-config(1)

NAME
sdl-config - script to get information about the installed version of SDL SYNOPSIS
sdl-config [ --prefix[=DIR] ] [ --exec-prefix[=DIR] ] [ --version ] [ --cflags ] [ --libs ] [ --static-libs ] DESCRIPTION
sdl-config is a tool that is used to configure and determine the compiler and linker flags that should be used to compile and link pro- grams, and libraries, and plugins that use SDL. It is also used internally by the m4 macros that are included with SDL. OPTIONS
--cflags Print the compiler flags that are necessary to compile a program or library that uses SDL. --exec-prefix=DIR If specified, use DIR instead of the installation exec prefix that SDL was build with when computing the output for the --exec-pre- fix option. This option must be specified before any of the --cflags, and --libs options. --libs Print the linker flags that are necessary to link a program that uses SDL. --prefix=DIR If specified, use DIR instead of the installation prefix that SDL was built with when computing the output for the --prefix, and --exec-prefix options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be speci- fied before any of the --cflags, and --libs options. --static-libs Print the linker flags that are necessary to statically link a program that uses SDL. --version Prints the currently installed version of SDL on standard output. EXAMPLES
gcc -o main.o $(sdl-config --cflags) main.c is how you might use sdl-config to compile a C source file for an executable program. gcc -o my_app $(sdl-config --libs) main.o util.o is how you might use sdl-config to link compiled objects into an executable program. AUTHOR
The Simple DirectMedia Layer (SDL) library was written by Sam Lantinga. This manual page was written by Branden Robinson, originally for Progeny Linux Systems, Inc., and the Debian Project. This manual page was modified by Petr Pisar to match original SDL distribution. SDL 1.2 2013-06-19 sdl-config(1)

Check Out this Related Man Page

AALIB(1)						      General Commands Manual							  AALIB(1)

NAME
aalib-config - script to get information about the installed version of aalib SYNOPSIS
aalib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--static-libs] [--cflags] DESCRIPTION
aalib-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link pro- grams that use aalib. It is also used internally to the .m4 macros for GNU autoconf that are included with aalib. OPTIONS
aalib-config accepts the following options: --version Print the currently installed version of aalib on the standard output. --libs Print the linker flags that are necessary to link a aalib program. --static-libs Print the linker flags that are necessary to link a aalib program statically. --cflags Print the compiler flags that are necessary to compile a aalib program. --prefix=PREFIX If specified, use PREFIX instead of the installation prefix that aalib was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified before any --libs or --cflags options. --exec-prefix=PREFIX If specified, use PREFIX instead of the installation exec prefix that aalib was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. COPYRIGHT
Copyright (C) 1998 Owen Taylor Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, pro- vided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in sup- porting documentation. Modified for aalib by Joey Hess AALIB(1)
Man Page