Updated Makefile

This commit is contained in:
Ethan Smith-Coss 2024-11-17 17:09:45 +00:00
parent d4e1774779
commit 1aed62283d
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -72,8 +72,8 @@ $(__Libxcb-errors): libxcb-errors
cd libxcb-errors && { \
git submodule update --init ; \
/bin/sh autogen.sh ; \
/bin/sh configure --prefix=/usr ; \
make && sudo make install ; }
/bin/sh configure --prefix=/usr }
make -C libxcb-errors && sudo make -C libxcb-errors install
__Aquamarine = $(INCLUDE_SYS_PATH)/aquamarine
$(__Aquamarine): $(__Hyprwayland-scanner) $(__Hyprutils) aquamarine
@ -91,6 +91,7 @@ __Hyprland = Hyprland/build/Hyprland
$(__Hyprland): $(__Hyprcursor) $(__Libxcb-errors) $(__Aquamarine)
@echo "Building Hyprland..."
sudo $(MAKE) -C Hyprland all
sudo chown -R $$USER:$$USER Hyprland/build
# Build hyprlock if it's not installed on the system
__Hyprlock = hyprlock/build/hyprlock