# kmemtest - a memory tester to run as a kernel thread under Linux # Copyright (C) 2005 Kasper Dupont # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # with permission from the author any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # $Id: Makefile,v 1.3 2005/04/11 08:33:14 kasperd Exp $ obj-m += memtest.o memtest-objs := kmemtest.o all: $(MAKE) -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(PWD) modules install: all install -o root -g root -m 0644 memtest.ko /lib/modules/$(shell uname -r)/kernel/fs && depmod -a clean: rm -rf .tmp_versions .*memtest*.cmd memtest.ko memtest.mod.* memtest.o kmemtest.o