diff --git a/Makefile b/Makefile index 8b2c653..9761e32 100644 --- a/Makefile +++ b/Makefile @@ -3,13 +3,12 @@ KERNEL = /lib/modules/$(shell uname -r)/build endif EXTRA_CFLAGS := -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing obj-m += amifldrv_mod.o -amifldrv_mod-objs := amifldrv.o amiwrap.o +amifldrv_mod-objs := amifldrv.o default: make -C $(KERNEL) SUBDIRS=$(PWD) modules rm -f amifldrv.o_shipped mv amifldrv.o amifldrv.o_shipped rm -f amifldrv_mod.o - mv amifldrv_mod.ko ../amifldrv_mod .PHONY : clean clean: rm -f *.*~