equal
deleted
inserted
replaced
18 @echo CC $< |
18 @echo CC $< |
19 @${CC} -c ${CFLAGS} $< |
19 @${CC} -c ${CFLAGS} $< |
20 |
20 |
21 ${OBJ}: dwm.h config.h config.mk |
21 ${OBJ}: dwm.h config.h config.mk |
22 |
22 |
23 config.h: |
|
24 @echo creating $@ from config.default.h |
|
25 @cp config.default.h $@ |
|
26 |
|
27 dwm: ${OBJ} |
23 dwm: ${OBJ} |
28 @echo CC -o $@ |
24 @echo CC -o $@ |
29 @${CC} -o $@ ${OBJ} ${LDFLAGS} |
25 @${CC} -o $@ ${OBJ} ${LDFLAGS} |
30 |
26 |
31 clean: |
27 clean: |
33 @rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz |
29 @rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz |
34 |
30 |
35 dist: clean |
31 dist: clean |
36 @echo creating dist tarball |
32 @echo creating dist tarball |
37 @mkdir -p dwm-${VERSION} |
33 @mkdir -p dwm-${VERSION} |
38 @cp -R LICENSE Makefile README config.default.h config.mk \ |
34 @cp -R LICENSE Makefile README config.h config.mk \ |
39 dwm.1 dwm.h tile.h ${SRC} dwm-${VERSION} |
35 dwm.1 dwm.h tile.h ${SRC} dwm-${VERSION} |
40 @tar -cf dwm-${VERSION}.tar dwm-${VERSION} |
36 @tar -cf dwm-${VERSION}.tar dwm-${VERSION} |
41 @gzip dwm-${VERSION}.tar |
37 @gzip dwm-${VERSION}.tar |
42 @rm -rf dwm-${VERSION} |
38 @rm -rf dwm-${VERSION} |
43 |
39 |