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