equal
deleted
inserted
replaced
11 all: options dwm |
11 all: options dwm |
12 @echo finished |
12 @echo finished |
13 |
13 |
14 options: |
14 options: |
15 @echo dwm build options: |
15 @echo dwm build options: |
16 @echo "LIBS = ${LIBS}" |
|
17 @echo "CFLAGS = ${CFLAGS}" |
16 @echo "CFLAGS = ${CFLAGS}" |
18 @echo "LDFLAGS = ${LDFLAGS}" |
17 @echo "LDFLAGS = ${LDFLAGS}" |
19 @echo "CC = ${CC}" |
18 @echo "CC = ${CC}" |
20 |
19 |
21 .c.o: |
20 .c.o: |
27 dwm: ${OBJ} |
26 dwm: ${OBJ} |
28 @echo LD $@ |
27 @echo LD $@ |
29 @${CC} -o $@ ${OBJ} ${LDFLAGS} |
28 @${CC} -o $@ ${OBJ} ${LDFLAGS} |
30 |
29 |
31 clean: |
30 clean: |
32 rm -f dwm *.o core dwm-${VERSION}.tar.gz |
31 rm -f dwm *.o dwm-${VERSION}.tar.gz |
33 |
32 |
34 dist: clean |
33 dist: clean |
35 mkdir -p dwm-${VERSION} |
34 mkdir -p dwm-${VERSION} |
36 cp -R Makefile README LICENSE config.mk *.h *.c ${MAN1} dwm-${VERSION} |
35 cp -R Makefile README LICENSE config.mk *.h *.c ${MAN1} dwm-${VERSION} |
37 tar -cf dwm-${VERSION}.tar dwm-${VERSION} |
36 tar -cf dwm-${VERSION}.tar dwm-${VERSION} |