equal
deleted
inserted
replaced
11 options: |
11 options: |
12 @echo dwm build options: |
12 @echo dwm build options: |
13 @echo "CFLAGS = ${CFLAGS}" |
13 @echo "CFLAGS = ${CFLAGS}" |
14 @echo "LDFLAGS = ${LDFLAGS}" |
14 @echo "LDFLAGS = ${LDFLAGS}" |
15 @echo "CC = ${CC}" |
15 @echo "CC = ${CC}" |
16 @echo "LD = ${LD}" |
|
17 |
16 |
18 .c.o: |
17 .c.o: |
19 @echo CC $< |
18 @echo CC $< |
20 @${CC} -c ${CFLAGS} $< |
19 @${CC} -c ${CFLAGS} $< |
21 |
20 |
24 config.h: |
23 config.h: |
25 @echo creating $@ from config.default.h |
24 @echo creating $@ from config.default.h |
26 @cp config.default.h $@ |
25 @cp config.default.h $@ |
27 |
26 |
28 dwm: ${OBJ} |
27 dwm: ${OBJ} |
29 @echo LD $@ |
28 @echo CC -o $@ |
30 @${LD} -o $@ ${OBJ} ${LDFLAGS} |
29 @${CC} -o $@ ${OBJ} ${LDFLAGS} |
31 @strip $@ |
30 @strip $@ |
32 |
31 |
33 clean: |
32 clean: |
34 @echo cleaning |
33 @echo cleaning |
35 @rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz |
34 @rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz |