14 lines
321 B
Makefile
14 lines
321 B
Makefile
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
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(OBJFILES)
|
|
$(CC) $(CFLAGS) -o $(TARGET) $(OBJFILES) $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -f $(OBJFILES) $(TARGET) *~
|