From c4c97962ac44c35623604add7acc5eca9fd3506a Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Tue, 30 Aug 2022 11:51:46 +0200 Subject: initial commit Signed-off-by: Toni Uhlig --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c83210b --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +ifndef DPP_ROOT +$(error DPP_ROOT is undefined) +endif + +include $(DPP_ROOT)/Makefile.inc + +DRIVER_NAME = driver +DRIVER_OBJECTS = $(DRIVER_NAME).o +DRIVER_TARGET = $(DRIVER_NAME).sys + +all: $(DRIVER_TARGET) + +clean: + rm -f $(DRIVER_OBJECTS) $(DRIVER_TARGET) + +%.o: %.cpp + $(call BUILD_CPP_OBJECT,$<,$@) + +$(DRIVER_TARGET): $(DRIVER_OBJECTS) + $(call LINK_CPP_KERNEL_TARGET,$(DRIVER_OBJECTS),$@) -- cgit v1.2.3