The status bar for my window manager (notion + spectrwm)
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.
 
 
cbar/Makefile

24 lines
377 B

.POSIX:
CC ?= cc
LIBS = -lsndio
OPTFLAGS = -O3
DBGFLAGS = -O0 -g
CFLAGS = -pipe -Wall -Werror -march=native
all: build
build: clean
${CC} ${DBGFLAGS} ${CFLAGS} -o cbar ${LIBS} cbar.c
opt: clean
${CC} ${OPTFLAGS} ${CFLAGS} -o cbar ${LIBS} cbar.c
install:
install -s cbar /home/sdk/.bin/cbar
clean:
rm -f cbar
debug: build
egdb -q ./cbar -ex "break main" -ex "run"