simple status generator for dwm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
status/makefile

22 lines
478 B

INCS = -I/usr/X11R6/include
CFLAGS = -Wall -Werror -pedantic -Ofast -std=c99 ${INCS}
LDFLAGS = -L/usr/X11R6/lib -lX11
CC ?= gcc
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
status: status.c
debug: status.c
${CC} ${LDFLAGS} -O0 -g -o stat_debug $?
install: status
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f status ${DESTDIR}${PREFIX}/bin/status
chmod 755 ${DESTDIR}${PREFIX}/bin/status
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/status
clean:
rm -f status stat_debug