Updated Makefile

This commit is contained in:
Ethan Smith-Coss 2024-06-18 21:04:36 +01:00
parent f8773d765d
commit 62f168f6a4
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -6,7 +6,7 @@ BIN_SYSTEM_PATH=/usr/local/bin
INC_SYSTEM_PATH=/usr/include
# Set the default target to build
default-target: build
default: build
### Makefile targets for hyprwm libraries ###
@ -43,7 +43,7 @@ hyprutils:
git submodule init
git submodule update --remote hyprutils
__Hyprutils = $(INC_SYSTEM_PATH)/hyprutils.hpp
$(__Hyprutils): hyprutils
$(__Hyprutils):
@[[ -z "$(ls -A hyprutils)" ]] && $(MAKE) hyprutils
$(CMAKE) --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr -S hyprutils -B ./hyprutils/build