2022-11-13 10:03:55 -06:00
|
|
|
CC = cc
|
|
|
|
CFLAGS = -Wall -Wextra -Wno-missing-field-initializers -std=c99
|
|
|
|
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) *~
|