Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
22 changed files
with
10,994 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.