Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 324 Bytes
CFLAGS+= -g -std=c99 -pedantic -Wall
LDADD+= -lX11
LDFLAGS=
EXEC=snapwm
PREFIX?= /usr/local
BINDIR?= $(PREFIX)/bin
CC=gcc
all: $(EXEC)
snapwm: snapwm.o
$(CC) $(LDFLAGS) -s -O2 -ffast-math -fno-unit-at-a-time -o $@ $+ $(LDADD)
install: all
install -Dm 755 snapwm $(DESTDIR)$(BINDIR)/snapwm
clean:
rm -fv snapwm *.o
Jump to Line
Something went wrong with that request. Please try again.