Convert .aif files to .wav (#711)

* Migrate .aif files to .wav

* cleanup
This commit is contained in:
Marcus Huderle
2025-12-01 09:01:35 -06:00
committed by GitHub
parent 7299efd381
commit 14b76daff8
971 changed files with 1123 additions and 1158 deletions
+33
View File
@@ -0,0 +1,33 @@
GIT_VERSION := $(shell git describe --abbrev=7 --dirty --always --tags)
CXX = g++
STRIP = strip
CXXFLAGS = -Wall -Wextra -Wconversion -std=c++17 -O2 -g -DGIT_VERSION=\"$(GIT_VERSION)\"
EXE :=
ifeq ($(OS),Windows_NT)
EXE := .exe
endif
BINARY = wav2agb$(EXE)
SRC_FILES = $(wildcard *.cpp)
OBJ_FILES = $(SRC_FILES:.cpp=.o)
LDFLAGS :=
ifneq (,$(RELEASE))
LDFLAGS += -static
CXXFLAGS += -flto
endif
.PHONY: clean clean
all: $(BINARY)
clean:
rm -f $(OBJ_FILES) $(BINARY)
$(BINARY): $(OBJ_FILES)
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
if [ $(RELEASE)x != x ]; then strip -s $@; fi
%.o: %.cpp
$(CXX) -c -o $@ $< $(CXXFLAGS)