File: set_common.sh

package info (click to toggle)
swirc 3.5.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,044 kB
  • sloc: cpp: 18,690; ansic: 18,414; sh: 1,011; python: 254; makefile: 108; javascript: 20
file content (11 lines) | stat: -rw-r--r-- 215 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
set_common () {
	if [ -z ${CFLAGS+x} ]; then
		CFLAGS="-I/usr/local/include"
	fi
	if [ -z ${CXXFLAGS+x} ]; then
		CXXFLAGS="-I/usr/local/include"
	fi
	if [ -z ${LDFLAGS+x} ]; then
		LDFLAGS="-L/usr/local/lib"
	fi
}