added make commands

This commit is contained in:
vaxerski 2022-03-20 17:06:37 +01:00
parent c32917a5ba
commit 3b827a14b6
3 changed files with 20 additions and 1 deletions

4
.gitignore vendored
View file

@ -15,4 +15,6 @@ build/
*.o
*-protocol.c
*-protocol.h
.ccls-cache
.ccls-cache
hyprctl/hyprctl

View file

@ -50,5 +50,17 @@ debug:
clear:
rm -rf build
rm -f *.o *-protocol.h *-protocol.c
rm -f ./hyprctl/hyprctl
all:
make config
make release
cd ./hyprctl && make all && cd ..
install:
make all
sudo cp ./example/hyprland.desktop /usr/share/wayland-sessions/
sudo cp ./build/Hyprland /usr/bin
sudo cp ./hyprctl/hyprctl /usr/bin
config: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o idle-protocol.o

5
example/hyprland.desktop Normal file
View file

@ -0,0 +1,5 @@
[Desktop Entry]
Name=Hyprland
Comment=An intelligent dynamic tiling Wayland compositor
Exec=Hyprland
Type=Application