summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoruint23 <[email protected]>2025-04-21 00:01:43 +0100
committeruint23 <[email protected]>2025-04-21 00:01:43 +0100
commit149c0723a99bd0a5f81bb466321417b38706aa72 (patch)
tree024f5000efd9373e40ba7d8855af62477c5735a0 /Makefile
parentad6f942ba97df41b39108aa862c439b777be536a (diff)
Xinerama multimonitor support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 961c08e..085d465 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,13 @@
CC ?= gcc
-CFLAGS ?= -Wall -Wextra -O2 -Isrc
-LDFLAGS ?= -lX11
+CFLAGS ?= -Wall -Wextra -O3 -Isrc
+LDFLAGS ?= -lX11 -lXinerama
PREFIX ?= /usr/local
BIN ?= sxwm
-SRC_DIR := src
-OBJ_DIR := build
-
+SRC_DIR := src
+OBJ_DIR := build
SRC := $(wildcard $(SRC_DIR)/*.c)
-OBJ := $(patsubst $(SRC_DIR)/%.c, $(OBJ_DIR)/%.o, $(SRC))
+OBJ := $(patsubst $(SRC_DIR)/%.c,$(OBJ_DIR)/%.o,$(SRC))
all: $(BIN)