summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-12-21 11:35:47 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-12-21 11:35:47 +0100
commitae2e9dc2d8ea1712ffe9c185bd5972d998ba6a0e (patch)
tree55366ba3552c497d7b778ddeaf77d1da834936df
parent535dd63b5534a989ff3ec6acf48138ed200a6f5c (diff)
Fix up the Makefile.
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 0b2c871..c6f4c82 100644
--- a/Makefile
+++ b/Makefile
@@ -11,12 +11,11 @@ PWD := $(shell pwd)
default:
$(CC) -I. -o testgart testgart.c
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
-endif
-
clean:
rm -rf *.o *.ko *.mod.c testgart .*.cmd .tmp_versions
-install-agp: FORCE
- cp agpgart.ko intel-agp.ko /lib/modules/`uname -r`/kernel/drivers/char/agp
- depmod -ae
+install: FORCE
+ $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules_install
+endif
+
FORCE: