diff options
author | MC <mc@hack.org> | 2010-06-18 15:56:56 +0200 |
---|---|---|
committer | MC <mc@hack.org> | 2010-06-18 15:56:56 +0200 |
commit | 1aa60fdcbc0c00728a74690fd8d207064edfd7c1 (patch) | |
tree | 19af58b2f0cbc9b3000fb594baa67962430d503f /Makefile | |
download | mcwm-1aa60fdcbc0c00728a74690fd8d207064edfd7c1.zip |
Version 20100618.20100618
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fa2d1bc --- /dev/null +++ b/Makefile @@ -0,0 +1,34 @@ +VERSION=201000618 +DIST=mcwm-$(VERSION) +DISTFILES=LICENSE Makefile README TODO WISHLIST config.h mcwm.c + +CC=gcc +CFLAGS=-g -std=c99 -Wall -I/usr/local/include -L/usr/local/lib -lxcb \ + -lxcb-keysyms + +# 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) + +$(DIST).tar.bz2: + mkdir $(DIST) + cp $(DISTFILES) $(DIST)/ + tar cf $(DIST).tar --exclude .git $(DIST) + bzip2 -9 $(DIST).tar + $(RM) -rf $(DIST) + +dist: $(DIST).tar.bz2 + +clean: + $(RM) -f $(TARGETS) + +distclean: clean + $(RM) -f $(DIST).tar.bz2 |