Skip to content

Commit

Permalink
Adding makefile dependencies
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18860 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jan 30, 2014
1 parent 8a6f62f commit 6552ff4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Parser/Makefile.common
Expand Up @@ -34,7 +34,8 @@ HFILES = \
ParModelica_Lexer.h \
ParModelica_Lexer_BaseModelica_Lexer.h \
Modelica_3_Lexer.h \
Modelica_3_Lexer_BaseModelica_Lexer.h
Modelica_3_Lexer_BaseModelica_Lexer.h \
$(ANTLR)/antlr3config.h

OBJS = \
ParModelica_Lexer_BaseModelica_Lexer.o ParModelica_Lexer.o \
Expand All @@ -53,6 +54,8 @@ ModelicaParser_omc.o: ModelicaParser.c ModelicaParser.h ModelicaParserCommon.h .
Parser_rml.o: $(HFILES) parse.c lookupTokenName.c
Parser_omc.o: $(HFILES) parse.c lookupTokenName.c ../SimulationRuntime/c/meta/rml_compatibility.h

$(OBJS) ModelicaParser_rml.o ModelicaParser_omc.o: $(HFILES)

libomparse_rml.a: Parser_rml.o $(OBJS) ModelicaParser_rml.o
rm -f $@
ar -ru $@ Parser_rml.o $(OBJS) ModelicaParser_rml.o
Expand Down

0 comments on commit 6552ff4

Please sign in to comment.