summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6c64bed..1a0c3cd 100644
--- a/Makefile
+++ b/Makefile
@@ -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/.