Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 326 Bytes
CFLAGS+= -Wall
LDADD+= -lX11
LDFLAGS=
EXEC=bipolarbar
PREFIX?= /usr/local
BINDIR?= $(PREFIX)/bin
CC=gcc
all: $(EXEC)
bipolarbar: bipolarbar.o
$(CC) $(LDFLAGS) -s -O2 -ffast-math -fno-unit-at-a-time -o $@ $+ $(LDADD)
install: all
install -Dm 755 bipolarbar $(DESTDIR)$(BINDIR)/bipolarbar
clean:
rm -fv bipolarbar *.o