From 22aad22769a52c7d5fdb153d477e7a76ea82a13b Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Fri, 22 Nov 2024 15:28:18 +0100 Subject: [PATCH] this might be it --- Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index e8a0ce5..06064e8 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ WIN_SDK_VERSION ?= 10.0.22621.0 MSVC_VERSION ?= 14.41.34120 -HEADERS := /I".\src\main\headers" \ - /I"${JAVA_HOME}\include" \ - /I"${JAVA_HOME}\include\win32" \ - /I"C:\Program Files (x86)\Windows Kits\10\Include\$(WIN_SDK_VERSION)\cppwinrt" \ - /I"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\$(MSVC_VERSION)\include" +HEADERS := -I".\src\main\headers" \ + -I"${JAVA_HOME}\include" \ + -I"${JAVA_HOME}\include\win32" \ + -I"C:\Program Files (x86)\Windows Kits\10\Include\$(WIN_SDK_VERSION)\cppwinrt" \ + -I"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\$(MSVC_VERSION)\include" SOURCES := $(wildcard src/main/native/*.cpp) ######## @@ -13,8 +13,8 @@ all: install install: cl -EHsc /std:c++17 -LD -W4 -guard:cf \ - -Fe"src/main/resources/integrations.dll" \ - -Fo"target/" \ - $(HEADERS) $(SOURCES) \ - -link -NXCOMPAT -DYNAMICBASE \ - crypt32.lib shell32.lib ole32.lib uuid.lib user32.lib windowsapp.lib \ No newline at end of file + -Fe"src/main/resources/integrations.dll" \ + -Fo"target/" \ + $(HEADERS) $(SOURCES) \ + -link -NXCOMPAT -DYNAMICBASE \ + crypt32.lib shell32.lib ole32.lib uuid.lib user32.lib windowsapp.lib \ No newline at end of file