about summary refs log tree commit diff stats
path: root/main.c
Commit message (Expand)AuthorAgeFilesLines
* removed procevent, more refactoringAnselm R. Garbe2007-02-191-2/+6
* draw.c is useless (belongs to main.c now)Anselm R. Garbe2007-02-191-0/+165
* some more refactoringAnselm R. Garbe2007-02-191-3/+1
* introduced tile.c, some refactoring of functionsAnselm R. Garbe2007-02-191-1/+1
* removed ugly ban(), extended resize() that it only resets the size if necessa...Anselm R. Garbe2007-02-161-1/+2
* made for/if/else constructs more consistent, some code polishingAnselm R. Garbe2007-02-141-6/+5
* pneubeck pointed out an obvious thing, that a second p = stext + strlen(stext...Anselm R. Garbe2007-02-091-1/+1
* fixed order of Bool declarationsAnselm R. Garbe2007-02-081-1/+1
* added TOPBAR option for making the bar appear what the user likesAnselm R. Garbe2007-02-081-3/+3
* making the bar appear at bottomAnselm R. Garbe2007-02-081-2/+2
* replaced getproto with a saner function, now old-school artifacts of WM times...Anselm R. Garbe2007-02-071-18/+0
* handling WM_STATE seems to make DnD in gtk/qt apps working, well let's handle...Anselm R. Garbe2007-01-281-0/+1
* renamed activescreen into selscreen 3.2Anselm R. Garbe2007-01-231-2/+2
* small changesAnselm R. Garbe2007-01-231-2/+2
* applied Sanders all5.patch (thanks for your weekend session, Sander!)Anselm R. Garbe2007-01-221-1/+1
* removed unnecessary bx, by, bw variablesAnselm R. Garbe2007-01-161-5/+2
* implemented new color scheme accordingly to Sanders proposalAnselm R. Garbe2007-01-141-2/+2
* removed mode label stuffAnselm R. Garbe2007-01-141-2/+2
* small fix of initial numlockmask valueAnselm R. Garbe2007-01-111-0/+1
* reorganizedAnselm R. Garbe2007-01-081-2/+1
* implemented nmaster appearance in mode label (using %u)Anselm R. Garbe2007-01-081-2/+3
* experimental version which allows master clients being increased/decreasedAnselm R. Garbe2007-01-051-1/+2
* changed arg's color schemearg@mig292007-01-021-3/+3
* correctionsarg@mig292007-01-021-2/+2
* next version will contain updated copyright noticearg@mig292007-01-021-2/+2
* fixed cleanup, using clients instead of sel 2.8arg@mig292007-01-021-3/+3
* with this patch everything works fine for mearg@mig292006-12-071-0/+2
* improved the memory leak preventionarg@mig292006-12-061-1/+4
* applied Jukka's patch preventing some cornercases and making the EOF error me...arg@mig292006-11-271-1/+2
* applied yet another proposal of Manuelarg@mig292006-11-261-2/+2
* applied Jukka's sizeof K&R compliance patch, applied Manuels' last-line print...arg@mig292006-11-261-6/+8
* applied Jukka's stdinread patcharg@mig292006-11-261-2/+3
* applied Manuels patch (thanks to Manuel!)arg@mig292006-11-251-14/+21
* applied Gottox patchesarg@mig292006-11-211-2/+3
* applied Gottox' windowarea patcharg@mig292006-11-161-1/+6
* code polishing, removed unnecessary newlinesAnselm R. Garbe2006-10-061-21/+9
* removed the stack position stuffAnselm R. Garbe2006-10-051-4/+1
* keep master ratio on resizecol -> arrangeAnselm R. Garbe2006-10-051-3/+3
* added symbols for different modesAnselm R. Garbe2006-09-291-2/+5
* removed useless updatemasterAnselm R. Garbe2006-09-291-1/+1
* added the new dotile as described on mlAnselm R. Garbe2006-09-291-1/+1
* first step to a more flexible dotile() algorithmAnselm R. Garbe2006-09-291-2/+2
* applied Jukkas patcharg@mmvi2006-09-251-3/+3
* implemented the maximization as I described on the mailinglist, this feels be...arg@mmvi2006-09-221-1/+0
* removed a bunch of lines through making function signatures more consistent w...Anselm R. Garbe2006-09-121-19/+11
* applied Christof Musik's multihead patch for a pathologic cornercaseAnselm R. Garbe2006-09-121-1/+2
* fixed some other comments, now also the code side seems to be at a level to b...Anselm R. Garbe2006-09-111-2/+2
* using a global stack for focus recovery on arrange() - seems to work greatAnselm R. Garbe2006-09-071-0/+1
* small fixAnselm R. Garbe2006-09-061-0/+1
* applied Sanders max_and_focus.patchAnselm R. Garbe2006-09-041-0/+1
a>
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
                              
                                                     


                 
           
                  
 
                
 
        
                                



                                     



                              
                          
 
         

                                           
 
           

                                      

      
                      
                                               

           

                                   
                                                               
                                           


                                                  

            
                                                                   
                                         


                                                                   
                                             
                                                                                 
                                                    

          



                                                                   

                                                
# dwm - dynamic window manager
# See LICENSE file for copyright and license details.

include config.mk

SRC = dwm.c
OBJ = ${SRC:.c=.o}

all: options dwm

options:
	@echo dwm build options:
	@echo "CFLAGS   = ${CFLAGS}"
	@echo "LDFLAGS  = ${LDFLAGS}"
	@echo "CC       = ${CC}"

.c.o:
	@echo CC $<
	@${CC} -c ${CFLAGS} $<

${OBJ}: config.h config.mk

config.h:
	@echo creating $@ from config.def.h
	@cp config.def.h $@

dwm: ${OBJ}
	@echo CC -o $@
	@${CC} -o $@ ${OBJ} ${LDFLAGS}

clean:
	@echo cleaning
	@rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz

dist: clean
	@echo creating dist tarball
	@mkdir -p dwm-${VERSION}
	@cp -R LICENSE Makefile README config.def.h config.mk \
		dwm.1 ${SRC} dwm-${VERSION}
	@tar -cf dwm-${VERSION}.tar dwm-${VERSION}
	@gzip dwm-${VERSION}.tar
	@rm -rf dwm-${VERSION}

install: all
	@echo installing executable file to ${DESTDIR}${PREFIX}/bin
	@mkdir -p ${DESTDIR}${PREFIX}/bin
	@cp -f dwm ${DESTDIR}${PREFIX}/bin
	@chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
	@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
	@mkdir -p ${DESTDIR}${MANPREFIX}/man1
	@sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1

uninstall:
	@echo removing executable file from ${DESTDIR}${PREFIX}/bin
	@rm -f ${DESTDIR}${PREFIX}/bin/dwm
	@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
	@rm -f ${DESTDIR}${MANPREFIX}/man1/dwm.1

.PHONY: all options clean dist install uninstall