Updated Makefile

This commit is contained in:
Ethan Smith-Coss 2024-07-23 13:39:18 +01:00
parent 2fd88b494f
commit ad25afcbb3
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -5,7 +5,7 @@ MESON=/usr/bin/meson
INCLUDE_SYS_PATH=/usr/include INCLUDE_SYS_PATH=/usr/include
# Components and libraries # Components and libraries
COMPONENTS=hyprcursor hyprlang hyprlock hyprpaper hyprutils wl-clipboard \ COMPONENTS=hyprcursor hyprlang hyprlock hyprpaper hyprutils wl-clipboard \
hyprwayland-scanner tomlplusplus libxcb-errors hyprwayland-scanner tomlplusplus libxcb-errors aquamarine
# Set the default target to build # Set the default target to build
.DEFAULT_GOAL := all .DEFAULT_GOAL := all
@ -89,7 +89,7 @@ $(__Aquamarine): $(__Hyprwayland-scanner)
# Build Hyprland if it's not installed on the system # Build Hyprland if it's not installed on the system
__Hyprland = Hyprland/build/Hyprland __Hyprland = Hyprland/build/Hyprland
$(__Hyprland): $(__Hyprlang) $(__Hyprcursor) $(__Hyprwayland-scanner) \ $(__Hyprland): $(__Hyprlang) $(__Hyprcursor) $(__Hyprwayland-scanner) \
$(__Libxcb-errors) $(__Libxcb-errors) $(__Aquamarine)
@echo "Building Hyprland..." @echo "Building Hyprland..."
sudo $(MAKE) -C Hyprland all sudo $(MAKE) -C Hyprland all