updated makefile to support building for laptops

This commit is contained in:
shockrahwow 2019-08-30 14:08:19 -07:00
parent 1212d4968b
commit 331633d41e

View File

@ -1,5 +1,10 @@
flags=-O2 -s -lX11
output=statline
stat: 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: clean:
rm -f statline rm -f statline