tstatus/Makefile

14 lines
289 B
Makefile

CC = cc
CFLAGS = -Wall -Wextra -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) *~