File: Makefile

package info (click to toggle)
ipset 6.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,312 kB
  • sloc: ansic: 21,786; sh: 10,432; makefile: 163; pascal: 125; awk: 3
file content (11 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
ifndef IP_SET_MAX
$(error "Use the toplevel Makefile, not the ones under the kernel/ subdirectory")
endif

ifneq ($(KERNELRELEASE),)
include Kbuild
else
KERNELDIR := /lib/modules/`uname -r`/build
all::
	$(MAKE) -C $(KERNELDIR) M=`pwd` $@
endif