logan_2023/day3/Makefile

16 lines
323 B
Makefile
Raw Permalink Normal View History

2023-12-05 00:24:35 -05:00
# obj-m specifie we're a kernel module.
obj-m += aoc2023d3p1.o
obj-m += aoc2023d3p2.o
# Set the path to the Kernel build utils.
KBUILD=/lib/modules/$(shell uname -r)/build/
default:
$(MAKE) -C $(KBUILD) M=$(PWD) modules
clean:
$(MAKE) -C $(KBUILD) M=$(PWD) clean
menuconfig:
$(MAKE) -C $(KBUILD) M=$(PWD) menuconfig