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