Skip to content

gcc Makefile lacks creation of installation directory #4701

@d94pn

Description

@d94pn

The Modelica/Resources/BuildProjects/gcc/Makefile does not handle missing installation directory, which was the case when I downloaded the latest ModelicaStandardLibrary-master.
One possible remedy is to complete the all target and add a new target for the directory:

all: clean ../../Library/$(TARGETDIR)
	$(MAKE) libModelicaExternalC.a libModelicaStandardTables.a libModelicaIO.a libModelicaMatIO.a libzlib.a

../../Library/$(TARGETDIR):
	mkdir -p $@

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions