summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-09-23 09:42:59 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-09-23 09:42:59 -0400
commit2e72d3b1b2688f2f20a313885e1bf90eedc41093 (patch)
tree7b6fc8e0587f28212d508e270fb37d56a13ad4d6
parent3d7fbad4f59a1c5bd516c2482e4e368fa923b99b (diff)
libpke-editor: include dependencies in build
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 30ca3af..dabc45a 100644
--- a/Makefile
+++ b/Makefile
@@ -222,7 +222,6 @@ $(DIR_OBJ)/libpke.$(LIB_EXT): $(DIR_OBJ)/thread-pool.$(OBJ_EXT)
$(DIR_OBJ)/libpke.$(LIB_EXT): $(DIR_OBJ)/vendor-cgltf-include.$(OBJ_EXT)
$(DIR_OBJ)/libpke.$(LIB_EXT): $(DIR_OBJ)/vendor-pkh-include.$(OBJ_EXT)
$(DIR_OBJ)/libpke.$(LIB_EXT): $(DIR_OBJ)/vendor-stb-image-include.$(OBJ_EXT)
-$(DIR_OBJ)/libpke.$(LIB_EXT): $(DIR_OBJ)/vendor-tinyfiledialogs.$(OBJ_EXT)
$(DIR_OBJ)/libpke.$(LIB_EXT): $(DIR_OBJ)/window.$(OBJ_EXT)
$(DIR_OBJ)/libpke.$(LIB_EXT):
ar rc $@ $(filter %.$(OBJ_EXT),$^)
@@ -232,6 +231,7 @@ $(DIR_OBJ)/libpke-editor.$(LIB_EXT): $(DIR_OBJ)/editor-types.$(OBJ_EXT)
$(DIR_OBJ)/libpke-editor.$(LIB_EXT): $(DIR_OBJ)/editor-io.$(OBJ_EXT)
$(DIR_OBJ)/libpke-editor.$(LIB_EXT): $(DIR_OBJ)/editor-plugin.$(OBJ_EXT)
$(DIR_OBJ)/libpke-editor.$(LIB_EXT): $(DIR_OBJ)/editor.$(OBJ_EXT)
+$(DIR_OBJ)/libpke-editor.$(LIB_EXT): $(DIR_OBJ)/vendor-tinyfiledialogs.$(OBJ_EXT)
$(DIR_OBJ)/libpke-editor.$(LIB_EXT):
ar rc $@ $(filter %.$(OBJ_EXT),$^)
ranlib $@
@@ -239,6 +239,7 @@ $(DIR_OBJ)/libpke-editor.$(LIB_EXT):
$(DIR_OBJ)/libpke-editor.$(OBJ_EXT): $(DIR_OBJ)/libpke-editor.$(LIB_EXT)
$(DIR_OBJ)/libpke-editor.$(OBJ_EXT): $(DIR_OBJ)/libmsdf-atlas-gen.$(LIB_EXT)
$(DIR_OBJ)/libpke-editor.$(OBJ_EXT): $(DIR_OBJ)/libmsdfgen.$(LIB_EXT)
+$(DIR_OBJ)/libpke-editor.$(OBJ_EXT): $(DIR_OBJ)/libpke-imgui.$(LIB_EXT)
$(CXX) -rdynamic -shared -Wl,-soname,libpke-editor.$(OBJ_EXT).$(PKE_VERSION_MAJ).$(PKE_VERSION_MIN) -Wl,--whole-archive $^ -Wl,--no-whole-archive $(LDFLAGS) -o $@
$(DIR_OBJ)/libpke-example.$(LIB_EXT): $(DIR_OBJ)/example.$(OBJ_EXT)