diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-08-30 11:51:46 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-08-31 08:13:07 +0200 |
commit | c4c97962ac44c35623604add7acc5eca9fd3506a (patch) | |
tree | 48709a662f5c07e7ab64025782a0b84e296ea23a /Makefile |
initial commitmain
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
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),$@) |