diff options
| author | Patrick <devnull@mailinator.com> | 2017-06-11 19:04:07 +0800 |
|---|---|---|
| committer | Patrick <devnull@mailinator.com> | 2017-06-11 19:04:07 +0800 |
| commit | 9385c245df13ad126e8c91bf95800e8d0d4ccbea (patch) | |
| tree | f8fec7174863b794ca094be15c435aab5eb1ecc7 /Makefile | |
| parent | 9949f1867f3c09c7cc51d68f057b33f4495e6b37 (diff) | |
add support for make install to make everything, init x-focus-topmost script
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,10 +1,10 @@ PREFIX = /usr/local -SRC = x-session.c +SRC = x-session.c X11SRC = $(filter-out $(SRC),$(wildcard *.c)) SCRIPTS= $(wildcard scripts/*) CC = gcc -CFLAGS = -O2 -Wall -std=c99 -pedantic +CFLAGS = -O2 -Wall -std=c99 -pedantic X11LIB = -lX11 -L/usr/X11/lib BIN = ${SRC:.c=} @@ -23,5 +23,5 @@ clean: dist dist: @astyle --style=google *.c -install: +install: all install -m 0755 $(BIN) $(X11BIN) $(SCRIPTS) ${PREFIX}/bin/. |
