rice/dwm-stat/Makefile

18 lines
260 B
Makefile

flags=-O2 -s -lX11
output=statline
stat:
gcc -o $(output) status.c $(flags)
laptop:
# compiling with LAPTOP=1
gcc -D LAPTOP=1 status.c -o $(output) $(flags)
run:
./statline
clean:
rm -f statline
install:
ln -s $(shell pwd)/statline /usr/bin/statline