correct selector pins, cava out, test mode

This commit is contained in:
2021-08-01 09:44:05 +01:00
parent e53bbd085b
commit c16cc57ccd
6 changed files with 19 additions and 10 deletions

View File

@ -9,7 +9,7 @@ BIN := bin/pixled
SOURCES := $(shell find $(SRC) -type f -name "*.c")
OBJECTS := $(patsubst $(SRC)/%.c, $(OBJ)/%.o, $(SOURCES))
.PHONY: all clean debug
.PHONY: all clean install
all: $(BIN)
@ -30,5 +30,9 @@ $(BIN): $(OBJECTS) .libs/log.la
if [ ! -d "$(dir $@)" ]; then mkdir -p "$(dir $@)"; fi
$(CC) -o $@ $^ $(LDFLAGS)
install:
$(shell install --backup bin/pixled /usr/local/bin/)
clean:
rm -rf $(OBJ) .libs libs/*/obj