Skip to content

Commit

Permalink
RML fixes
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@143 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Feb 26, 1998
1 parent 5e9d7f9 commit af0952c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions modeq/ast/Makefile
Expand Up @@ -9,6 +9,9 @@
# DLG scanner
# ANTLR-defined token types
#

RMLINCLUDE = /home/pelab/pub/pkg/rml/rml-1.9.0/sol2-sparc/include/plain

TOKENS = tokens.h
#
# The following filenames must be consistent with ANTLR/DLG flags
Expand All @@ -21,7 +24,7 @@ BIN = $(PCCTS)/bin
ANTLR = $(BIN)/antlr
DLG = $(BIN)/dlg
#CFLAGS = -ggdb -I. -I$(ANTLR_H) #does not work in linux
CFLAGS = -g -I. -I.. -I$(ANTLR_H)
CFLAGS = -g -I. -I.. -I$(ANTLR_H) -I$(RMLINCLUDE)
#AFLAGS = -CC -gt
AFLAGS = -gt -gl -gh
#DFLAGS = -C2 -CC -cs
Expand All @@ -48,10 +51,10 @@ libast.a : $(OBJ)
$(CC) -c $(CFLAGS) -o $@ $<

modgram.o: modgram.c attrib.h parser.h modAST.h tokens.h \
../rml.h ../dae.h ../exp.h ../class.h mode.h
$(RMLINCLUDE)/rml.h ../dae.h ../exp.h mode.h
scanner.o: scanner.c attrib.h parser.h modAST.h
err.o: err.c attrib.h parser.h modAST.h tokens.h
yacclib.o: yacclib.c ../rml.h yacclib.h
yacclib.o: yacclib.c $(RMLINCLUDE)/rml.h yacclib.h
attrib.o: attrib.c stdpccts.h attrib.h parser.h modAST.h tokens.h mode.h

$(SCAN).o : $(SCAN).c $(TOKENS)
Expand Down

0 comments on commit af0952c

Please sign in to comment.