Updated Makefile

This commit is contained in:
Ethan Smith-Coss 2024-06-21 19:25:18 +01:00
parent 5b9d3e6fa1
commit 0b4200e263
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -21,7 +21,7 @@ $(__Tomlplusplus): tomlplusplus
# Build hyprcursor if the .hpp file is not installed (required hyprlang)
# Library for hyprwm
__Hyprcursor = $(INCLUDE_SYS_PATH)/hyprcursor.hpp
__Hyprcursor = $(INCLUDE_SYS_PATH)/hyprcursor/
$(__Hyprcursor): $(__Tomlplusplus) $(__Hyprlang)
$(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprcursor -B ./hyprcursor/build
@ -44,7 +44,6 @@ $(__Hyprutils):
# Library for hyprwm
__Hyprlang = $(INCLUDE_SYS_PATH)/hyprlang.hpp
$(__Hyprlang): $(__Hyprutils)
# built using cmake
$(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprlang -B ./hyprlang/build
$(CMAKE) --build ./hyprlang/build --config Release --target hyprlang \