aboutsummaryrefslogtreecommitdiff
path: root/experimental/Makefile
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-09-29 15:16:37 -0400
committerB. Stack <bgstack15@gmail.com>2022-09-29 15:16:37 -0400
commit42b63d91290ba85bb9a6a95f33ad0de2f9d64e7a (patch)
tree0d5615ba93b1a16a6f3f583e7a7329eb387cb47b /experimental/Makefile
parentadd C proof of concept (diff)
downloadkeyboard-leds-trayicons-42b63d91290ba85bb9a6a95f33ad0de2f9d64e7a.tar.gz
keyboard-leds-trayicons-42b63d91290ba85bb9a6a95f33ad0de2f9d64e7a.tar.bz2
keyboard-leds-trayicons-42b63d91290ba85bb9a6a95f33ad0de2f9d64e7a.zip
WIP: minimum viable product for status.c
The absolute bare minimum, working C program that displays the capslock and numlock indicators in system tray. It has hardcoded values for icons and named pipes, and no config parsing. Possible config libraries include: inih, libini-config5, libminini, libiniparser1
Diffstat (limited to 'experimental/Makefile')
-rw-r--r--experimental/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/experimental/Makefile b/experimental/Makefile
index 27d84c4..2bb7fca 100644
--- a/experimental/Makefile
+++ b/experimental/Makefile
@@ -18,11 +18,15 @@ CC = gcc
# to get full debug symbols, add to both FLAGS: -g
# to make all warnings act as errors: -Wall -Weffc++ -Wextra -Wsign-conversion -Werror
CXXFLAGS = -g -std=c++17 -Wall -Weffc++ -Wextra -Wsign-conversion -Werror
-CCFLAGS = -g -Wall -Wextra -Wsign-conversion -Werror `pkg-config x11 --cflags`
+CCFLAGS = -g -Wno-deprecated-declarations \
+ `pkg-config --cflags x11` \
+ `pkg-config --cflags gtk+-3.0`
# to remove all debug symbols: -s
# to add full debug symbols: -g
-LDFLAGS = -g `pkg-config x11 --libs`
+LDFLAGS = -g \
+ `pkg-config --libs x11` \
+ `pkg-config --libs gtk+-3.0`
src = $(wildcard *.c)
obj = $(src:.c=.o)
bgstack15