mini/Makefile
author Florian Pose <fp@igh-essen.com>
Fri, 06 Jan 2006 10:17:35 +0000
changeset 46 f2d7a73d2f32
parent 24 d417dd9bdc2f
child 50 458e704afc6e
permissions -rw-r--r--
Makefiles nochmals verbessert.
#----------------------------------------------------------------
#
#  Makefile
#
#  Minimales EtherCAT-Modul
#
#  $Id$
#
#----------------------------------------------------------------

ifneq ($(KERNELRELEASE),)

#----------------------------------------------------------------
# Kbuild-Abschnitt

obj-m := ec_mini_mod.o

ec_mini_mod-objs := ec_mini.o

#----------------------------------------------------------------

else

#----------------------------------------------------------------
# Default-Abschnitt

modules:
	$(MAKE) -C ..

clean:
	$(MAKE) -C .. clean

#----------------------------------------------------------------

endif