Makefile
changeset 272 efb1c792a6a4
parent 250 440ae5f6d2c3
child 281 c91bbf7bc52c
--- a/Makefile	Tue Jun 06 11:59:52 2006 +0000
+++ b/Makefile	Mon Jun 12 14:37:38 2006 +0000
@@ -1,6 +1,8 @@
 #------------------------------------------------------------------------------
 #
-#  EtherCAT Makefile
+#  Makefile
+#  
+#  IgH EtherCAT master
 #
 #  $Id$
 #
@@ -55,7 +57,14 @@
 CURRENT_DIR := $(shell pwd)
 
 modules:
-	$(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR)
+	$(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) modules
+
+install: modules_install
+	@script/install.sh $(KERNEL)
+
+modules_install:
+	$(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR)/master modules_install
+	$(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR)/devices modules_install
 
 clean: cleandoc
 	$(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean
@@ -66,9 +75,6 @@
 cleandoc:
 	@rm -rf doc
 
-install:
-	@script/install.sh $(KERNEL)
-
 #------------------------------------------------------------------------------
 
 endif