2023-07-11 15:55:43 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -ex;
|
|
|
|
|
2023-07-11 19:02:56 +00:00
|
|
|
SOURCES="main.c output_manager.c accel_monitor.c usb_device_detection.c"
|
2023-07-11 15:55:43 +00:00
|
|
|
CFLAGS="-std=c2x -Wall -Wextra -pedantic $CFLAGS"
|
2023-07-11 19:02:56 +00:00
|
|
|
LIBS="-lwayland-client -lusb-1.0 protocol/wlr-output-management-unstable-v1.c"
|
2023-07-11 15:55:43 +00:00
|
|
|
OUTPUT=miix-wlr
|
|
|
|
|
|
|
|
clang $CFLAGS $LIBS $SOURCES -o $OUTPUT
|