summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBossCode45 <human.cyborg42@gmail.com>2025-01-04 15:14:05 +1300
committerBossCode45 <human.cyborg42@gmail.com>2025-01-04 15:14:05 +1300
commitaa1500fea32db04c9e4fe72786ebd7e3479b6a8a (patch)
treedf2bcb0182704dac9e1813f269fb46bb67e65c61 /makefile
parentd1d4a63d4473cd4910b678cf5b385f622186fbd3 (diff)
downloadYATwm-aa1500fea32db04c9e4fe72786ebd7e3479b6a8a.tar.gz
YATwm-aa1500fea32db04c9e4fe72786ebd7e3479b6a8a.zip
feat: Commands restructure + home manager module now makes config
Commands module is now a separate libraray that the flake includes. The home manager module will now auto generate the config and has options for different things such as keybinds, gaps, workspaces, etc.
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/makefile b/makefile
index 25cc4f4..3a12ea4 100644
--- a/makefile
+++ b/makefile
@@ -1,7 +1,7 @@
.PHONY: clean
CXX := g++
CXXFLAGS := -std=c++17 `pkg-config --cflags --libs libnotify`# -g -fsanitize=address -fno-omit-frame-pointer
-LINKFLAGS := -lX11 -lXrandr
+LINKFLAGS := -lX11 -lXrandr -lcommands
OBJS_DIR := ./build
OUT_DIR := ./out
SOURCE_DIR := ./src
@@ -33,9 +33,8 @@ remove: r
$(OBJS_DIR)/main.o: $(SOURCE_FILES) $(SOURCE_HEADERS)
$(OBJS_DIR)/ewmh.o: $(SOURCE_DIR)/ewmh.cpp $(SOURCE_DIR)/ewmh.h
$(OBJS_DIR)/util.o: $(SOURCE_DIR)/util.cpp $(SOURCE_DIR)/util.h
-$(OBJS_DIR)/commands.o: $(SOURCE_DIR)/commands.cpp $(SOURCE_DIR)/commands.h
-$(OBJS_DIR)/config.o: $(SOURCE_DIR)/config.cpp $(SOURCE_DIR)/config.h $(SOURCE_DIR)/commands.h
-$(OBJS_DIR)/keybinds.o: $(SOURCE_DIR)/keybinds.cpp $(SOURCE_DIR)/keybinds.h $(SOURCE_DIR)/commands.h
+$(OBJS_DIR)/config.o: $(SOURCE_DIR)/config.cpp $(SOURCE_DIR)/config.h
+$(OBJS_DIR)/keybinds.o: $(SOURCE_DIR)/keybinds.cpp $(SOURCE_DIR)/keybinds.h
$(OBJS_DIR)/ipc.o: $(SOURCE_DIR)/ipc.cpp $(SOURCE_DIR)/ipc.h $(SOURCE_DIR)/commands.h $(SOURCE_DIR)/ewmh.h
clean: