Updated Makefile

This commit is contained in:
Ethan Smith-Coss 2024-07-31 16:43:23 +01:00
parent ad25afcbb3
commit aaff576774
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -25,7 +25,7 @@ $(__Tomlplusplus): tomlplusplus
# Build hyprcursor if the .hpp file is not installed (required hyprlang) # Build hyprcursor if the .hpp file is not installed (required hyprlang)
# Library for hyprwm # Library for hyprwm
__Hyprcursor = $(INCLUDE_SYS_PATH)/hyprcursor/ __Hyprcursor = $(INCLUDE_SYS_PATH)/hyprcursor/
$(__Hyprcursor): $(__Tomlplusplus) $(__Hyprlang) $(__Hyprcursor): $(__Tomlplusplus) $(__Hyprlang) hyprcursor
$(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \ $(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprcursor -B ./hyprcursor/build -DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprcursor -B ./hyprcursor/build
$(CMAKE) --build ./hyprcursor/build --config Release --target all \ $(CMAKE) --build ./hyprcursor/build --config Release --target all \
@ -36,7 +36,7 @@ $(__Hyprcursor): $(__Tomlplusplus) $(__Hyprlang)
# Build hyprutils if the .hpp file is not installed # Build hyprutils if the .hpp file is not installed
# Library for hyprwm # Library for hyprwm
__Hyprutils = $(INCLUDE_SYS_PATH)/hyprutils __Hyprutils = $(INCLUDE_SYS_PATH)/hyprutils
$(__Hyprutils): $(__Hyprutils): hyprutils
$(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \ $(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprutils -B ./hyprutils/build -DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprutils -B ./hyprutils/build
$(CMAKE) --build ./hyprutils/build --config Release --target all \ $(CMAKE) --build ./hyprutils/build --config Release --target all \
@ -46,7 +46,7 @@ $(__Hyprutils):
# Build hyprlang if the .hpp file is not installed # Build hyprlang if the .hpp file is not installed
# Library for hyprwm # Library for hyprwm
__Hyprlang = $(INCLUDE_SYS_PATH)/hyprlang.hpp __Hyprlang = $(INCLUDE_SYS_PATH)/hyprlang.hpp
$(__Hyprlang): $(__Hyprutils) $(__Hyprwayland-scanner) $(__Hyprlang): $(__Hyprutils) $(__Hyprwayland-scanner) hyprlang
$(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \ $(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprlang -B ./hyprlang/build -DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprlang -B ./hyprlang/build
$(CMAKE) --build ./hyprlang/build --config Release --target hyprlang \ $(CMAKE) --build ./hyprlang/build --config Release --target hyprlang \
@ -56,7 +56,7 @@ $(__Hyprlang): $(__Hyprutils) $(__Hyprwayland-scanner)
sudo $(CMAKE) --install ./hyprlang/build sudo $(CMAKE) --install ./hyprlang/build
__Hyprwayland-scanner = /usr/lib64/cmake/hyprwayland-scanner __Hyprwayland-scanner = /usr/lib64/cmake/hyprwayland-scanner
$(__Hyprwayland-scanner): $(__Hyprwayland-scanner): hyprwayland-scanner
$(CMAKE) -DCMAKE_INSTALL_PREFIX=/usr -S ./hyprwayland-scanner \ $(CMAKE) -DCMAKE_INSTALL_PREFIX=/usr -S ./hyprwayland-scanner \
-B hyprwayland-scanner/build -B hyprwayland-scanner/build
$(CMAKE) --build ./hyprwayland-scanner/build -j \ $(CMAKE) --build ./hyprwayland-scanner/build -j \
@ -76,7 +76,7 @@ $(__Libxcb-errors): libxcb-errors
make && sudo make install ; } make && sudo make install ; }
__Aquamarine = $(INCLUDE_SYS_PATH)/aquamarine __Aquamarine = $(INCLUDE_SYS_PATH)/aquamarine
$(__Aquamarine): $(__Hyprwayland-scanner) $(__Aquamarine): $(__Hyprwayland-scanner) aquamarine
$(CMAKE) -DCMAKE_INSTALL_PREFIX=/usr -S ./aquamarine \ $(CMAKE) -DCMAKE_INSTALL_PREFIX=/usr -S ./aquamarine \
-B aquamarine/build -B aquamarine/build
$(CMAKE) --build ./aquamarine/build -j \ $(CMAKE) --build ./aquamarine/build -j \