vall-e/vall_e.cpp/Makefile
2024-12-21 15:48:12 -06:00

22 lines
418 B
Makefile

CXX = g++
INCS += -I./include
LIBS += -L./libs
LINKS += -lggml -lggml-base -lllama -lencodec
FLAGS += -g
SRCS := $(shell find ./ -name "*.cpp")
OBJS += $(patsubst %.cpp,%.o,$(SRCS))
TARGET = vall_e
%.o: %.cpp
$(CXX) $(FLAGS) $(INCS) -c $< -o $@
$(TARGET): $(OBJS)
$(CXX) $(FLAGS) $(OBJS) $(LIBS) $(INCS) $(LINKS) -o $(TARGET)
clean:
@-rm -f $(OBJS)
@-rm -f $(TARGET)