File: Makefile

package info (click to toggle)
atl2 2.0.5-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 192 kB
  • ctags: 766
  • sloc: ansic: 2,908; makefile: 45
file content (13 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
KSRC ?= /lib/modules/$(shell uname -r)/build

obj-m	+= atl2.o
atl2-y	+= atl2_main.o atl2_hw.o atl2_ethtool.o atl2_param.o

all:
	$(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules

clean:
	rm -rf *.ko *.mod.* *.o .*.cmd .tmp_versions Module.symvers

distclean: clean
	rm -rf cscope.* *~