diff Makefile @ 3:3726f37deac1

Move config out of the main file
author Atarwn Gard <a@qwa.su>
date Sun, 12 Oct 2025 20:54:34 +0500
parents ee781c291790
children 180e42b65105
line wrap: on
line diff
--- a/Makefile	Sat Oct 11 10:15:35 2025 +0500
+++ b/Makefile	Sun Oct 12 20:54:34 2025 +0500
@@ -6,6 +6,9 @@
 $(TARGET):
 	$(CC) $(CFLAGS) gbwm.c -o $@ -lX11 -lXft -I/usr/include/freetype2/
 
+config.h: default.config.h
+	cp default.config.h config.h
+
 .PHONY: install uninstall clean
 
 install: $(TARGET)
@@ -15,4 +18,4 @@
 	rm -f $(DESTDIR)$(PREFIX)/bin/$(TARGET)
 
 clean:
-	rm -f $(TARGET)
\ No newline at end of file
+	rm -f $(TARGET)