summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 4f80e045b7..d943d2a855 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -42,8 +42,12 @@ MAXOUTFILE = $(OBJDIR)/romstart
ifdef SIMVER
# this is a sim build
-all: $(OBJDIR)/$(BINARY) $(CODECS) $(ROCKS)
+COMMONLIB = $(ROOTDIR)/uisimulator/common/libcomsim.a
+
+all: $(COMMONLIB) $(OBJDIR)/$(BINARY) $(CODECS) $(ROCKS)
@$(MAKE) -C $(SIMDIR)
+
+$(COMMONLIB):
@$(MAKE) -C $(ROOTDIR)/uisimulator/common
else
# regular target build