applied Jukka's diff
parent
4d55eee754
commit
bba044de4f
9
Makefile
9
Makefile
|
@ -5,6 +5,7 @@ include config.mk
|
||||||
|
|
||||||
SRC = client.c draw.c event.c main.c tag.c util.c
|
SRC = client.c draw.c event.c main.c tag.c util.c
|
||||||
OBJ = ${SRC:.c=.o}
|
OBJ = ${SRC:.c=.o}
|
||||||
|
CONFIG ?= config.default.h
|
||||||
|
|
||||||
all: options dwm
|
all: options dwm
|
||||||
@echo finished
|
@echo finished
|
||||||
|
@ -21,9 +22,9 @@ options:
|
||||||
|
|
||||||
${OBJ}: dwm.h config.h
|
${OBJ}: dwm.h config.h
|
||||||
|
|
||||||
config.h:
|
config.h: ${CONFIG}
|
||||||
@echo creating default $@
|
@echo creating $@ from $>
|
||||||
@cp config.default.h $@
|
@cp $> $@
|
||||||
|
|
||||||
dwm: ${OBJ}
|
dwm: ${OBJ}
|
||||||
@echo LD $@
|
@echo LD $@
|
||||||
|
@ -31,7 +32,7 @@ dwm: ${OBJ}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@echo cleaning
|
@echo cleaning
|
||||||
@rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz
|
@rm -f dwm ${OBJ} config.h dwm-${VERSION}.tar.gz
|
||||||
|
|
||||||
dist: clean
|
dist: clean
|
||||||
@echo creating dist tarball
|
@echo creating dist tarball
|
||||||
|
|
Loading…
Reference in New Issue