summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMC <mc@hack.org>2010-06-19 10:59:58 +0200
committerMC <mc@hack.org>2010-06-19 10:59:58 +0200
commit0755d36ca3720fc91e24730bc420fc019627c5af (patch)
treee1087fca1ce0a4a73adde18797339a1488f469d8 /Makefile
parentcaa4071b5f3550195f39e0f18970358fd073ea5e (diff)
downloadmcwm-0755d36ca3720fc91e24730bc420fc019627c5af.zip
Bump VERSION.
Added NEWS. Added mcwm-static target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index fa2d1bc..45577dc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-VERSION=201000618
+VERSION=201000619
DIST=mcwm-$(VERSION)
-DISTFILES=LICENSE Makefile README TODO WISHLIST config.h mcwm.c
+DISTFILES=LICENSE Makefile NEWS README TODO WISHLIST config.h mcwm.c
CC=gcc
CFLAGS=-g -std=c99 -Wall -I/usr/local/include -L/usr/local/lib -lxcb \
@@ -8,16 +8,17 @@ CFLAGS=-g -std=c99 -Wall -I/usr/local/include -L/usr/local/lib -lxcb \
# Define -DDEBUG for lots of debug information.
-#CFLAGS=-g -std=c99 -Wall -I/usr/local/include -L/usr/local/lib -lxcb -lxcb-keysyms \
-# -DDMALLOC -DMALLOC_FUNC_CHECK -ldmalloc
-
-
RM=/bin/rm
TARGETS=mcwm
all: $(TARGETS)
+mcwm-static: mcwm.c config.h
+ $(CC) -o mcwm-static mcwm.c -static -g -std=c99 -Wall \
+ -I/usr/local/include/ -L/usr/local/lib \
+ -lxcb -lxcb-keysyms -lXau -lXdmcp
+
$(DIST).tar.bz2:
mkdir $(DIST)
cp $(DISTFILES) $(DIST)/