2022-11-13 10:03:55 -06:00
|
|
|
CC = cc
|
2022-11-13 10:04:49 -06:00
|
|
|
CFLAGS = -Wall -Wextra -std=c99
|
2022-11-13 10:03:55 -06:00
|
|
|
LDFLAGS = -lxcb -lasound
|
|
|
|
OBJFILES = alsa.o battery.o bspwm.o datetime.o file.o thermal.o tstatus.o
|
|
|
|
TARGET = tstatus
|
2022-09-16 14:32:59 -05:00
|
|
|
|
2022-11-13 10:03:55 -06:00
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
$(TARGET): $(OBJFILES)
|
|
|
|
$(CC) $(CFLAGS) -o $(TARGET) $(OBJFILES) $(LDFLAGS)
|
2022-09-19 13:29:23 -05:00
|
|
|
|
2022-09-16 14:32:59 -05:00
|
|
|
clean:
|
2022-11-13 10:03:55 -06:00
|
|
|
rm -f $(OBJFILES) $(TARGET) *~
|