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