diff --git a/Makefile b/Makefile index aa661b1..6d7c9c0 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,8 @@ $(__Tomlplusplus): tomlplusplus # Build hyprcursor if the .hpp file is not installed (required hyprlang) # Library for hyprwm -.PHONY : hyprcursor -hyprcursor: - git submodule init - git submodule update --remote hyprcursor __Hyprcursor = $(INCLUDE_SYS_PATH)/hyprcursor.hpp $(__Hyprcursor): $(__Tomlplusplus) $(__Hyprlang) - @[[ -z "$(ls -A hyprcursor)" ]] && $(MAKE) 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 \ @@ -40,9 +35,9 @@ $(__Hyprcursor): $(__Tomlplusplus) $(__Hyprlang) __Hyprutils = $(INCLUDE_SYS_PATH)/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 -j`nproc \ - 2>/dev/null || getconf _NPROCESSORS_CONF` + -DCMAKE_INSTALL_PREFIX:PATH=/usr -S ./hyprutils -B ./hyprutils/build + $(CMAKE) --build ./hyprutils/build --config Release --target all \ + -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF` sudo $(CMAKE) --install hyprutils/build # Build hyprlang if the .hpp file is not installed