File: Makefile

package info (click to toggle)
nfqueue-bindings 0.4-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 232 kB
  • sloc: ansic: 257; python: 211; perl: 183; makefile: 28; sh: 25
file content (14 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PREFIX = /usr/local
CMAKE_OPTIONS = -DDEBUG=1 -DCMAKE_VERBOSE_MAKEFILE=0 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$(PREFIX)
CMAKE_EXTRA_OPTIONS =
BUILD_DIR = build

all:
	[ -d $(BUILD_DIR) ] || mkdir $(BUILD_DIR); \
	cd $(BUILD_DIR) && cmake $(CMAKE_OPTIONS) $(CMAKE_EXTRA_OPTIONS) .. && $(MAKE)

install: all
	cd $(BUILD_DIR) && $(MAKE) install

clean:
	rm -rf $(BUILD_DIR)