2019-08-30 21:08:19 +00:00
|
|
|
flags=-O2 -s -lX11
|
|
|
|
output=statline
|
2019-07-21 02:09:20 +00:00
|
|
|
stat:
|
2019-08-30 21:08:19 +00:00
|
|
|
gcc -o $(output) status.c $(flags)
|
|
|
|
|
|
|
|
laptop:
|
2019-09-02 09:54:20 +00:00
|
|
|
# compiling with LAPTOP=1
|
|
|
|
gcc -D LAPTOP=1 status.c -o $(output) $(flags)
|
2019-07-21 02:09:20 +00:00
|
|
|
|
2019-09-02 10:04:32 +00:00
|
|
|
run:
|
|
|
|
./statline
|
|
|
|
|
2019-07-21 02:09:20 +00:00
|
|
|
clean:
|
|
|
|
rm -f statline
|
|
|
|
|
|
|
|
install:
|
|
|
|
ln -s $(shell pwd)/statline /usr/bin/statline
|