add sb-battery
This commit is contained in:
5
Makefile
5
Makefile
@@ -2,7 +2,7 @@ CC = cc
|
||||
CFLAGS = -Wall -Wextra -O3
|
||||
CURL_LIBS = -lcurl
|
||||
|
||||
SOURCES = sb-cpu.c sb-date.c sb-memory.c sb-time.c sb-weather.c
|
||||
SOURCES = sb-cpu.c sb-date.c sb-memory.c sb-time.c sb-weather.c sb-battery.c
|
||||
|
||||
EXECUTABLES = $(SOURCES:.c=)
|
||||
|
||||
@@ -23,6 +23,9 @@ sb-memory: sb-memory.c
|
||||
sb-time: sb-time.c
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
sb-battery: sb-battery.c
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f $(EXECUTABLES)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user