@@ -106,9 +106,6 @@ GEN_SOURCES = \
106106 src/FileGlob/Actions.pir \
107107 src/FileGlob/Compiler.pir \
108108 src/FileGlob/Grammar.pir \
109- src/Partcl/Actions.pir \
110- src/Partcl/Compiler.pir \
111- src/Partcl/Grammar.pir \
112109 src/Partcl/Operators.pir \
113110 src/Internals.pir \
114111 src/TclArray.pir \
@@ -122,20 +119,21 @@ all: $(PARTCL_EXE) .revision
122119
123120src/Partcl.pir : $(GEN_SOURCES )
124121src/Partcl/commands.pm : $(COMMANDS ) $(HELPERS ) src/init.pir src/TclList.pir \
125- src/Partcl/Actions.pir src/Partcl/Compiler.pir
122+ src/Partcl/Actions.pm src/Partcl/Compiler.pm src/Partcl/Grammar.pm\
123+ src/Internals.pm
126124 echo "use src::init;" > src/Partcl/commands.pm
127125 echo "use src::TclList;" >> src/Partcl/commands.pm
128- echo "use src::Partcl::Actions;" >> src/Partcl/commands.pm
129- echo "use src::Partcl::Compiler;" >> src/Partcl/commands.pm
126+ cat src/Partcl/Grammar.pm >> src/Partcl/commands.pm
127+ cat src/Partcl/Actions.pm >> src/Partcl/commands.pm
128+ cat src/Partcl/Compiler.pm >> src/Partcl/commands.pm
130129 echo "class Builtins {" >> src/Partcl/commands.pm
131130 cat $(COMMANDS) >> src/Partcl/commands.pm
132131 echo "}" >> src/Partcl/commands.pm
132+ cat src/Internals.pm >> src/Partcl/commands.pm
133133 cat $(HELPERS) >> src/Partcl/commands.pm
134134
135- src/Internals.pm : src/Partcl/commands.pir src/init.pm
136135src/init.pm : src/TclLexPad.pir src/TclArray.pir
137136src/FileGlob/Actions.pm : src/StringGlob/Actions.pir
138- src/Partcl/Actions.pm : src/Internals.pir
139137src/FileGlob/Grammar.pm : src/StringGlob/Grammar.pir
140138
141139$(PARTCL_EXE ) : partcl.pbc
0 commit comments