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:
parent
8bcc742df1
commit
98839c2ce0
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue