File: set_common.sh

package info (click to toggle)
swirc 3.5.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,092 kB
  • sloc: cpp: 19,125; ansic: 18,465; sh: 1,012; 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
}