mirror of https://github.com/davatorium/rofi.git
Makefile install target
This commit is contained in:
parent
8bcc742df1
commit
98839c2ce0
5
Makefile
5
Makefile
|
@ -1,5 +1,7 @@
|
||||||
CFLAGS?=-Wall -O2
|
CFLAGS?=-Wall -O2
|
||||||
LDADD?=$(shell pkg-config --cflags --libs x11 xinerama x11 xft)
|
LDADD?=$(shell pkg-config --cflags --libs x11 xinerama x11 xft)
|
||||||
|
PREFIX?=$(DESTDIR)/usr
|
||||||
|
BINDIR?=$(PREFIX)/bin
|
||||||
|
|
||||||
all: normal
|
all: normal
|
||||||
|
|
||||||
|
@ -9,5 +11,8 @@ normal:
|
||||||
debug:
|
debug:
|
||||||
$(CC) $(CFLAGS) -Wunused-parameter -g -DDEBUG $(LDADD) -o simpleswitcher-debug simpleswitcher.c
|
$(CC) $(CFLAGS) -Wunused-parameter -g -DDEBUG $(LDADD) -o simpleswitcher-debug simpleswitcher.c
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -Dm 755 simpleswitcher $(BINDIR)/simpleswitcher
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f simpleswitcher simpleswitcher-debug
|
rm -f simpleswitcher simpleswitcher-debug
|
||||||
|
|
Loading…
Reference in New Issue