1
0

wmpwman v26.10.22

A Window Maker dockapp to help with power management.

Co-authored-by: Tomek Wojcik <labs@tomekwojcik.pl>
Co-committed-by: Tomek Wojcik <labs@tomekwojcik.pl>
This commit is contained in:
2026-10-22 18:15:01 +00:00
committed by Tomek Wójcik
parent a6ebba2e95
commit 1340aed49b
5 changed files with 565 additions and 0 deletions

21
packages/wmpwman/Makefile Normal file
View File

@@ -0,0 +1,21 @@
# Co-Authored by: Claude (Sonnet 5.5 Medium)
CC ?= cc
CFLAGS ?= -O2 -Wall -Wextra -Wno-incompatible-pointer-types
CFLAGS += $(shell pkg-config --cflags x11 dockapp 2>/dev/null)
LDLIBS = $(shell pkg-config --libs x11 xext xpm dockapp 2>/dev/null)
PREFIX ?= /usr/local
SOURCES = src/wmpwman.c
.PHONY: install clean
wmpwman: $(SOURCES)
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LDLIBS)
install: wmpwman
install -D -m 755 wmpwman $(DESTDIR)$(PREFIX)/bin/wmpwman
clean:
rm -f wmpwman