Author: particle
Date: Thu Apr 27 09:44:53 2006
New Revision: 12448
Modified:
trunk/config/gen/makefiles/perl6.in
Log:
[perl6] add sub grammar to compile step in makefile
~ todo: modify compiler to recognize new grammar
Modified: trunk/config/gen/makefiles/perl6.in
==============================================================================
--- trunk/config/gen/makefiles/perl6.in (original)
+++ trunk/config/gen/makefiles/perl6.in Thu Apr 27 09:44:53 2006
@@ -15,6 +15,7 @@
SOURCES = perl6.pir \
lib/grammar_rules.pg \
lib/grammar_optok.pg \
+ lib/grammar_sub.pg \
lib/parse.pir \
lib/pge2past.tg \
lib/past2pir.tg \
@@ -25,7 +26,7 @@
# the default target
perl6.pbc: $(PARROT) $(PGE_DIR)/pgc.pir $(SOURCES)
$(PARROT) $(PGE_DIR)/pgc.pir --output=lib/grammar_gen.pir \
- lib/grammar_rules.pg lib/grammar_optok.pg
+ lib/grammar_rules.pg lib/grammar_optok.pg lib/grammar_sub.pg
$(PARROT) $(TGE_DIR)/tgc.pir --output=lib/pge2past.pir lib/pge2past.tg
$(PARROT) $(TGE_DIR)/tgc.pir --output=lib/past2pir.pir lib/past2pir.tg
$(PARROT) -o perl6.pbc perl6.pir
@@ -53,8 +54,8 @@
test: all
$(PERL) t/harness
+# this target has nothing to do
testclean:
- echo "XXX: Todo - not yet implemented"
clean:
$(RM_RF) perl6.pbc lib/grammar_gen.pir