modeco80
d95d305734
i'm going to switch the build to clang-cl. To test, I've added EXE build support back to the speech2 C++ buildsystem and I'm going to replace the current mingw command lines for clang-cl in the next commit. Because we only need XP SP3 compatibility, we won't need any compat library stuff, but I may still alter his libc++ fork if MSVC CRT ends up blowing too many chunks.
27 lines
621 B
Makefile
27 lines
621 B
Makefile
include build/arch.mk
|
|
include build/configs.mk
|
|
|
|
NAME = speech2
|
|
TYPE = dll
|
|
|
|
# Any C++ file in src/ is automatically picked up.
|
|
CXXSRCS = $(wildcard src/*.cpp) $(wildcard src/*/*.cpp)
|
|
|
|
.PHONY: all clean matrix
|
|
|
|
include build/rules.mk
|
|
|
|
all: $(BUILD_PRODUCT)
|
|
|
|
clean:
|
|
echo -e "\e[91mCleaning... \e[0m"
|
|
rm -rf $(BINDIR)/ $(OBJS)
|
|
|
|
# A fun make trick. This allows for verbose compilation if desired.
|
|
# Set V=1 or anything, and it'll be verbose.
|
|
$V.SILENT:
|
|
|
|
# Include dependency files generated by compilation.
|
|
# `make clean` keeps them so we can reuse, however they can
|
|
# still optionally be blown away.
|
|
-include $(OBJS:.o=.d)
|