2024-07-17 21:38:27 -04:00
|
|
|
include build/arch.mk
|
|
|
|
include build/configs.mk
|
|
|
|
|
2024-07-18 05:05:35 -04:00
|
|
|
NAME = speech2
|
2024-07-19 03:59:19 -04:00
|
|
|
TYPE = dll
|
2024-07-17 21:38:27 -04:00
|
|
|
|
|
|
|
# Any C++ file in src/ is automatically picked up.
|
|
|
|
CXXSRCS = $(wildcard src/*.cpp) $(wildcard src/*/*.cpp)
|
|
|
|
|
2024-07-19 07:45:18 -04:00
|
|
|
# Required libraries.
|
|
|
|
LIBS = kernel32.lib shell32.lib user32.lib uuid.lib ole32.lib
|
|
|
|
|
2024-07-19 03:59:19 -04:00
|
|
|
.PHONY: all clean matrix
|
2024-07-17 21:38:27 -04:00
|
|
|
|
|
|
|
include build/rules.mk
|
|
|
|
|
2024-07-19 03:59:19 -04:00
|
|
|
all: $(BUILD_PRODUCT)
|
|
|
|
|
2024-07-17 21:38:27 -04:00
|
|
|
clean:
|
|
|
|
echo -e "\e[91mCleaning... \e[0m"
|
|
|
|
rm -rf $(BINDIR)/ $(OBJS)
|
|
|
|
|
2024-07-19 03:59:19 -04:00
|
|
|
# A fun make trick. This allows for verbose compilation if desired.
|
|
|
|
# Set V=1 or anything, and it'll be verbose.
|
2024-07-17 21:38:27 -04:00
|
|
|
$V.SILENT:
|
|
|
|
|
2024-07-19 03:59:19 -04:00
|
|
|
# Include dependency files generated by compilation.
|
|
|
|
# `make clean` keeps them so we can reuse, however they can
|
|
|
|
# still optionally be blown away.
|
2024-07-17 21:38:27 -04:00
|
|
|
-include $(OBJS:.o=.d)
|