use "ARCH=arch_name make" restructured project folder, implementations and headers together under sources/
24 lines
755 B
Plaintext
24 lines
755 B
Plaintext
THE EXECUTABLE MUST HAVE OWNER root AND "set user id" (chmod +s ) FLAG SET
|
|
( running as regular user has no rights for /dev/inputXXX , running as root breaks other stuff, so we go with owner root and setUID )
|
|
|
|
|
|
|
|
|
|
special thanks to
|
|
|
|
https://gist.github.com/lmarz/1059f7c4101a15e2a04d6991d7b7b3d1
|
|
|
|
which provided a minimal example, allowing me to shorten the suffering of skimming through the shitty wayland documentation
|
|
|
|
|
|
INSTALL:
|
|
|
|
run "./generate_sources.sh"
|
|
will generate the wayland headers and sources needed by the program
|
|
the generated files will be in "./wlroot_objects"
|
|
|
|
run "make"
|
|
will imports a bunch of definitions from "external.mk"
|
|
then will run "./wlroot_objects/Makefile"
|
|
and finally ends the build process with its own jobs
|