Skip to content

Commit

Permalink
Initial revision
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Nov 7, 1997
1 parent 8bf2454 commit 3c5da6d
Show file tree
Hide file tree
Showing 22 changed files with 10,994 additions and 0 deletions.
32 changes: 32 additions & 0 deletions modeq/Makefile
@@ -0,0 +1,32 @@
CC=cc
CFLAGS=
RML=rmlc
LIB=/home/pelab/pub/pkg/rml/current/sol2-sparc/lib/plain/librml.a

SRCRML= modelica.rml class.rml exp.rml dae.rml main.rml
SRCC= $(SRCRML:.rml=.c)
SRCO= $(SRCRML:.rml=.o)

.SUFFIXES: .rml

#.rml.c:
# $(RML) -c $<

.rml.o:
$(RML) -c $<
# $(CC) -c $*.c

modelica: $(SRCO) $(LIB)
$(RML) -o modelica $(SRCO) $(LIB) -lm

$(SRCO): rml.h

dae.rml: exp.rml
env.rml: modelica.rml
main.rml: exp.rml dae.rml

clean:
$(RM) $(SRCO) $(SRCC)

reallyclean: clean
$(RM) class.h dae.h exp.h main.h modelica.h

0 comments on commit 3c5da6d

Please sign in to comment.