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.
21 lines
441 B
21 lines
441 B
CFLAGS = -Wall -Werror -pedantic -Ofast -std=c99
|
|
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
|
|
|