diff --git a/dwm-stat/Makefile b/dwm-stat/Makefile index 87d0b39..64bdfe1 100644 --- a/dwm-stat/Makefile +++ b/dwm-stat/Makefile @@ -1,5 +1,10 @@ +flags=-O2 -s -lX11 +output=statline stat: - gcc -o statline status.c -O2 -s -lX11 + gcc -o $(output) status.c $(flags) + +laptop: + gcc -D LAPTOP status.c -o $(output) status.c $(flags) clean: rm -f statline