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.
23 lines
485 B
Makefile
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
|