1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Makefile install target

This commit is contained in:
seanpringle 2012-08-27 20:24:30 +10:00
parent 8bcc742df1
commit 98839c2ce0

View file

@ -1,5 +1,7 @@
CFLAGS?=-Wall -O2
LDADD?=$(shell pkg-config --cflags --libs x11 xinerama x11 xft)
PREFIX?=$(DESTDIR)/usr
BINDIR?=$(PREFIX)/bin
all: normal
@ -9,5 +11,8 @@ normal:
debug:
$(CC) $(CFLAGS) -Wunused-parameter -g -DDEBUG $(LDADD) -o simpleswitcher-debug simpleswitcher.c
install:
install -Dm 755 simpleswitcher $(BINDIR)/simpleswitcher
clean:
rm -f simpleswitcher simpleswitcher-debug