|
|
@ -8,6 +8,7 @@ OBJ = ${SRC:.c=.o} |
|
|
|
|
|
|
|
|
|
|
|
all: options dwm |
|
|
|
all: options dwm |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options: |
|
|
|
options: |
|
|
|
@echo dwm build options:
|
|
|
|
@echo dwm build options:
|
|
|
|
@echo "CFLAGS = ${CFLAGS}"
|
|
|
|
@echo "CFLAGS = ${CFLAGS}"
|
|
|
@ -22,7 +23,7 @@ ${OBJ}: config.h config.mk |
|
|
|
config.h: |
|
|
|
config.h: |
|
|
|
cp config.def.h $@
|
|
|
|
cp config.def.h $@
|
|
|
|
|
|
|
|
|
|
|
|
dwm: ${OBJ} |
|
|
|
dwm: ${OBJ} patch |
|
|
|
${CC} -o $@ ${OBJ} ${LDFLAGS}
|
|
|
|
${CC} -o $@ ${OBJ} ${LDFLAGS}
|
|
|
|
|
|
|
|
|
|
|
|
clean: |
|
|
|
clean: |
|
|
@ -48,4 +49,7 @@ uninstall: |
|
|
|
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
|
|
|
|
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
|
|
|
|
${DESTDIR}${MANPREFIX}/man1/dwm.1
|
|
|
|
${DESTDIR}${MANPREFIX}/man1/dwm.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
patch: patches/*.diff |
|
|
|
|
|
|
|
find ${PATCHESDIR} -iname '*.diff' -exec sh -c 'patch < $$0' {} \;
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: all options clean dist install uninstall |
|
|
|
.PHONY: all options clean dist install uninstall |
|
|
|