1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00
rofi/Makefile

19 lines
444 B
Makefile
Raw Normal View History

2012-06-29 13:10:13 -04:00
CFLAGS?=-Wall -O2
LDADD?=$(shell pkg-config --cflags --libs x11 xinerama x11 xft)
2012-08-27 06:24:30 -04:00
PREFIX?=$(DESTDIR)/usr
BINDIR?=$(PREFIX)/bin
2012-06-29 13:10:13 -04:00
all: normal
normal:
$(CC) $(CFLAGS) $(LDADD) $(LDFLAGS) -o simpleswitcher simpleswitcher.c
debug:
$(CC) $(CFLAGS) -Wunused-parameter -g -DDEBUG $(LDADD) -o simpleswitcher-debug simpleswitcher.c
2012-08-27 06:24:30 -04:00
install:
install -Dm 755 simpleswitcher $(BINDIR)/simpleswitcher
2012-06-29 13:10:13 -04:00
clean:
rm -f simpleswitcher simpleswitcher-debug