diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2024-03-08 08:29:04 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2024-03-08 08:29:04 +0100 |
commit | 27de0798b73e7310dfc6ed76578120a41ba8c160 (patch) | |
tree | 5e2a9ad4d1b9885704a68bcef4308e99a80004ad /Makefile | |
parent | f15f07392dae1dcc99f4646b88c28b5161df61c5 (diff) |
initial tarkov driver (WiP)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -8,17 +8,27 @@ DRIVER_NAME = driver-kmem DRIVER_OBJECTS = $(DRIVER_NAME).o memory.o DRIVER_TARGET = $(DRIVER_NAME).sys -all: $(DRIVER_TARGET) +TARKOV_NAME = tfk +TARKOV_OBJECTS = tarkov.o memory.o +TARKOV_TARGET = $(TARKOV_NAME).sys -install: $(DRIVER_TARGET) +all: $(DRIVER_TARGET) $(TARKOV_TARGET) + +install: $(DRIVER_TARGET) $(TARKOV_TARGET) $(call INSTALL_EXEC_SIGN,$(DRIVER_TARGET)) $(INSTALL) $(DRIVER_NAME).bat $(DESTDIR) + $(call INSTALL_EXEC_SIGN,$(TARKOV_TARGET)) + $(INSTALL) $(TARKOV_NAME).bat $(DESTDIR) clean: rm -f $(DRIVER_OBJECTS) $(DRIVER_TARGET) + rm -f $(TARKOV_OBJECTS) $(TARKOV_TARGET) %.o: %.cpp $(call BUILD_CPP_OBJECT,$<,$@) $(DRIVER_TARGET): $(DRIVER_OBJECTS) $(call LINK_CPP_KERNEL_TARGET,$(DRIVER_OBJECTS),$@) + +$(TARKOV_TARGET): $(TARKOV_OBJECTS) + $(call LINK_CPP_KERNEL_TARGET,$(TARKOV_OBJECTS),$@) |