FDD-book/examples/part-01/ch02-setting-up-your-lab/lab01-hello-world/Makefile
Edson Brandi 6e6dac94fe Add book companion files under examples/
Organize companion code and materials by book part:

  part-01/      Foundations
  part-02/      Kernel & driver fundamentals
  part-03/      Character & block devices
  part-04/      Networking & storage
  part-05/      Buses & advanced topics
  part-06/      Debugging & performance
  part-07/      Real-world drivers
  appendices/   Supplementary material
  README.md     Overview and build instructions
2026-04-25 16:51:00 +00:00

11 lines
360 B
Makefile

# Makefile for hello_world kernel module
#
# Companion for Chapter 2. The KMOD name is "hello_world", so this
# Makefile produces "hello_world.ko" on build, NOT "hello.ko".
# (The chapter text has a minor phrasing glitch that says "hello.ko";
# the filename you actually load is hello_world.ko.)
KMOD= hello_world
SRCS= hello_world.c
.include <bsd.kmod.mk>