15 lines
242 B
Makefile
15 lines
242 B
Makefile
flags=-O2 -s -lX11
|
|
output=statline
|
|
stat:
|
|
gcc -o $(output) status.c $(flags)
|
|
|
|
laptop:
|
|
# compiling with LAPTOP=1
|
|
gcc -D LAPTOP=1 status.c -o $(output) $(flags)
|
|
|
|
clean:
|
|
rm -f statline
|
|
|
|
install:
|
|
ln -s $(shell pwd)/statline /usr/bin/statline
|