aewl

diff Makefile @ 754:4c12dccc288d

this is the (second) begin of aewl - my personal stipped down dwm
author meillo@marmaro.de
date Thu, 29 May 2008 23:12:30 +0200
parents c459e05a61a8
children 427608ef0687
line diff
     1.1 --- a/Makefile	Sat Jun 16 21:49:51 2007 +0200
     1.2 +++ b/Makefile	Thu May 29 23:12:30 2008 +0200
     1.3 @@ -3,8 +3,6 @@
     1.4  
     1.5  include config.mk
     1.6  
     1.7 -SRC = client.c draw.c event.c main.c tag.c util.c view.c
     1.8 -OBJ = ${SRC:.c=.o}
     1.9  
    1.10  all: options dwm
    1.11  
    1.12 @@ -14,19 +12,13 @@
    1.13  	@echo "LDFLAGS  = ${LDFLAGS}"
    1.14  	@echo "CC       = ${CC}"
    1.15  
    1.16 -.c.o:
    1.17 +dwm.o: dwm.c config.h config.mk
    1.18  	@echo CC $<
    1.19  	@${CC} -c ${CFLAGS} $<
    1.20  
    1.21 -${OBJ}: dwm.h config.h config.mk
    1.22 -
    1.23 -config.h: config.meillo.h
    1.24 -	@echo creating $@ from config.meillo.h
    1.25 -	@cp config.meillo.h $@
    1.26 -
    1.27 -dwm: ${OBJ}
    1.28 +dwm: dwm.o
    1.29  	@echo CC -o $@
    1.30 -	@${CC} -o $@ ${OBJ} ${LDFLAGS}
    1.31 +	@${CC} -o $@ dwm.o ${LDFLAGS}
    1.32  	@strip $@
    1.33  
    1.34  clean: