This repository has been archived on 2026-03-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
SakuraVNE_old/Makefile

68 lines
1.7 KiB
Makefile
Raw Normal View History

2026-02-25 18:51:34 +01:00
# Alternative GNU Make workspace makefile autogenerated by Premake
ifndef config
config=debug
endif
ifndef verbose
SILENT = @
endif
ifeq ($(config),debug)
ImGui_config = debug
ImGuiNodeEditor_config = debug
SakuraVNE_config = debug
else ifeq ($(config),release)
ImGui_config = release
ImGuiNodeEditor_config = release
SakuraVNE_config = release
else
$(error "invalid configuration $(config)")
endif
PROJECTS := ImGui ImGuiNodeEditor SakuraVNE
.PHONY: all clean help $(PROJECTS)
all: $(PROJECTS)
ImGui:
ifneq (,$(ImGui_config))
@echo "==== Building ImGui ($(ImGui_config)) ===="
@${MAKE} --no-print-directory -C libs/imgui -f Makefile config=$(ImGui_config)
endif
ImGuiNodeEditor:
ifneq (,$(ImGuiNodeEditor_config))
@echo "==== Building ImGuiNodeEditor ($(ImGuiNodeEditor_config)) ===="
@${MAKE} --no-print-directory -C libs/imgui-node-editor -f Makefile config=$(ImGuiNodeEditor_config)
endif
SakuraVNE: ImGui ImGuiNodeEditor
ifneq (,$(SakuraVNE_config))
@echo "==== Building SakuraVNE ($(SakuraVNE_config)) ===="
@${MAKE} --no-print-directory -C SakuraVNE -f Makefile config=$(SakuraVNE_config)
endif
clean:
@${MAKE} --no-print-directory -C libs/imgui -f Makefile clean
@${MAKE} --no-print-directory -C libs/imgui-node-editor -f Makefile clean
@${MAKE} --no-print-directory -C SakuraVNE -f Makefile clean
help:
@echo "Usage: make [config=name] [target]"
@echo ""
@echo "CONFIGURATIONS:"
@echo " debug"
@echo " release"
@echo ""
@echo "TARGETS:"
@echo " all (default)"
@echo " clean"
@echo " ImGui"
@echo " ImGuiNodeEditor"
@echo " SakuraVNE"
@echo ""
@echo "For more information, see https://github.com/premake/premake-core/wiki"