30 lines
706 B
Makefile
30 lines
706 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)
|
|
|
|
# Required libraries.
|
|
LIBS = kernel32.lib shell32.lib user32.lib uuid.lib ole32.lib
|
|
|
|
.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)
|