Skip to content

Commit

Permalink
- Fix regeneration of libomcmodpar.a if make clean has been run
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7536 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Dec 21, 2010
1 parent 62f1446 commit 8ec5878
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Compiler/modpar/Makefile.in
Expand Up @@ -26,14 +26,15 @@ OBJECTS = Codegen.o \
else
OBJECTS = TaskGraphExt_stub.o
endif
all: libmodpar.a libmodparomc.a
.PHONY: install
install: libmodpar.a libmodparomc.a
cp libmodparomc.a $(builddir_lib)/omc

libmodpar.a: $(OBJECTS)
ar -sr $@ $(OBJECTS)

libmodparomc.a: TaskGraphExt_stub_omc.o
ar -sr $@ $<
cp $@ $(builddir_lib)/omc

INCFLAGS =-I$(RMLINCLUDE) -I$(BOOST_HOME) -I$(top_builddir)/mosh/src

Expand Down

0 comments on commit 8ec5878

Please sign in to comment.