dotfiles/particles/Makefile
Sarthak 7f41cf7a82 replace the old dotfiles with the sakura line rice
The bare $HOME repo is gone. This is now the rice: install.sh, rice-*
scripts in bin/, configs in home/ linked into $HOME, theme templates, st
and the particle wallpaper. Clone to ~/rice and run install.sh.
2026-09-14 19:44:44 +05:30

23 lines
485 B
Makefile

PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
PKGS := cairo x11 xext xfixes xrender xrandr
CFLAGS ?= -O2 -Wall -Wextra
CFLAGS += $(shell pkg-config --cflags $(PKGS))
LDLIBS := $(shell pkg-config --libs $(PKGS)) -lm
all: particles
particles: particles_wall.c
$(CC) $(CFLAGS) -o $@ $< $(LDLIBS)
install: particles
install -Dm755 particles $(DESTDIR)$(BINDIR)/particles
uninstall:
rm -f $(DESTDIR)$(BINDIR)/particles
clean:
rm -f particles
.PHONY: all install uninstall clean