You've already forked ziomekos
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:
21
packages/wmpwman/Makefile
Normal file
21
packages/wmpwman/Makefile
Normal 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
|
||||
Reference in New Issue
Block a user