From 1aa60fdcbc0c00728a74690fd8d207064edfd7c1 Mon Sep 17 00:00:00 2001 From: MC Date: Fri, 18 Jun 2010 15:56:56 +0200 Subject: Version 20100618. --- Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3