updated makefile to support building for laptops
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user