summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMC <mc@hack.org>2010-06-29 14:38:42 +0200
committerMC <mc@brain.hack.org>2010-06-29 14:38:42 +0200
commit9eba663926d93cddfc4bd7d4b1ca3d073e922df9 (patch)
treef539cca8f7c47c11b983224c1575a3129867439a /Makefile
parent4e7bb8c6b19077fbce47094e1b2a5bcc25ace8ba (diff)
downloadmcwm-9eba663926d93cddfc4bd7d4b1ca3d073e922df9.zip
Added focus change from keyboard, Mod2-TAB. For now, it's a simple
window ring. This also means focuswin is now a pointer to a struct client and that we have a linked list of all mapped windows not in override redirect mode.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 9d66a55..7c68549 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,21 @@
-VERSION=201000624-3
+VERSION=201000629
DIST=mcwm-$(VERSION)
DISTFILES=LICENSE Makefile NEWS README TODO WISHLIST config.h mcwm.c \
- events.h
+ events.h mcwm.man
CC=gcc
-CFLAGS=-g -std=c99 -Wall -I/usr/local/include -L/usr/local/lib -lxcb \
- -lxcb-keysyms -lxcb-icccm -lxcb-atom #-DDEBUG
+CFLAGS=-g -std=c99 -Wall -I/usr/local/include #-DDEBUG
+LDFLAGS=-L/usr/local/lib -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-atom
RM=/bin/rm
PREFIX=/usr/local
-TARGETS=mcwm
+TARGETS=mcwm list.o
all: $(TARGETS)
-mcwm: mcwm.c config.h events.h Makefile
+mcwm: mcwm.o list.o config.h events.h Makefile
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ mcwm.c list.o
mcwm-static: mcwm.c config.h
$(CC) -o mcwm-static mcwm.c -static -g -std=c99 -Wall \
@@ -38,7 +39,7 @@ $(DIST).tar.bz2:
dist: $(DIST).tar.bz2
clean:
- $(RM) -f $(TARGETS)
+ $(RM) -f $(TARGETS) *.o
distclean: clean
$(RM) -f $(DIST).tar.bz2