This repository was archived by the owner on May 18, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1072,12 +1072,14 @@ match platform
10721072 >>
10731073 else
10741074 <<
1075- <%fileNamePrefix%>_FMU: $(MAINOBJ) <%fileNamePrefix%>_functions.h <%fileNamePrefix%>_literals.h $(OFILES) $(RUNTIMEFILES)
1075+ <%fileNamePrefix%>_FMU:
1076+ <%\t%>$(MAKE) $(MAINOBJ) <%fileNamePrefix%>_functions.h <%fileNamePrefix%>_literals.h $(OFILES) $(RUNTIMEFILES) > make.log
10761077 <%\t%>mkdir -p ../binaries/$(FMIPLATFORM)
10771078 ifeq (@LIBTYPE_DYNAMIC@,1)
10781079 <%\t%>$(LD) -o <%modelNamePrefix%>$(DLLEXT) $(MAINOBJ) $(OFILES) $(RUNTIMEFILES) <%dirExtra%> <%libsPos1%> <%libsPos2%> $(LDFLAGS)
1079- <%\t%>cp <%fileNamePrefix%>$(DLLEXT) <%fileNamePrefix%>_FMU.libs config.log ../binaries/$(FMIPLATFORM)/
1080+ <%\t%>cp <%fileNamePrefix%>$(DLLEXT) <%fileNamePrefix%>_FMU.libs config.log make.log ../binaries/$(FMIPLATFORM)/
10801081 endif
1082+ <%\t%>head -n20 Makefile > ../binaries/$(FMIPLATFORM)/config.summary
10811083 ifeq (@LIBTYPE_STATIC@,1)
10821084 <%\t%>rm -f <%modelNamePrefix%>.a
10831085 <%\t%>$(AR) -rsu <%modelNamePrefix%>.a $(MAINOBJ) $(OFILES) $(RUNTIMEFILES)
@@ -1086,7 +1088,7 @@ match platform
10861088 <%\t%>$(MAKE) distclean
10871089 <%\t%>cd .. && rm -f ../<%fileNamePrefix%>.fmu && zip -r ../<%fileNamePrefix%>.fmu *
10881090 distclean: clean
1089- <%\t%>rm -f Makefile config.status config.log
1091+ <%\t%>rm -f Makefile config.status config.log make.log
10901092 clean:
10911093 <%\t%>rm -f <%fileNamePrefix%>.def <%fileNamePrefix%>.o <%fileNamePrefix%>.a <%fileNamePrefix%>$(DLLEXT) $(MAINOBJ) $(OFILES) $(RUNTIMEFILES)
10921094 >>
You can’t perform that action at this time.
0 commit comments