Skip to content

Commit ad5598f

Browse files
committed
Fixed Makefile
Signed-off-by: yeaseb <yeaseb@gmail.com>
1 parent 6f916d0 commit ad5598f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
obj-m += wmo_oc.c
2-
ccflags-y := -std=gnu99 -Wno-declaration-after-statement
1+
obj-m += wmo_oc.o
2+
ccflags-y := -std=gnu99
33
KERNEL_SOURCE_DIR := /lib/modules/$(shell uname -r)/build
44

55
all:
6-
make -C "$(KERNEL_SOURCE_DIR)" M="$(PWD)" modules
6+
make -C $(KERNEL_SOURCE_DIR) M=$(PWD) modules
77

88
clean:
9-
make -C "$(KERNEL_SOURCE_DIR)" M="$(PWD)" clean
9+
make -C $(KERNEL_SOURCE_DIR) M=$(PWD) clean
1010

0 commit comments

Comments
 (0)