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