changeset 37:2dc785f67327

Use new tpc shell script so that errors are displayed on the console
author Mike Pavone <pavone@retrodev.com>
date Sun, 15 Jul 2012 13:06:58 -0700
parents 814e3d482ad3
children cd3ec7d99330 f38437d22ebd
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Jul 15 11:07:11 2012 -0700
+++ b/Makefile	Sun Jul 15 13:06:58 2012 -0700
@@ -4,7 +4,7 @@
 BINS := $(addprefix $(OUTDIR)/,sim lifter)
 OBJS := $(addprefix $(OBJDIR)/,sim.tp.c lifter.tp.c)
 TPDIR := ../tabletprog
-TPC := $(TPDIR)/tpc.js
+TPC := $(TPDIR)/tpc
 TPFLAGS := 
 
 ifdef compilerdebug
@@ -17,7 +17,7 @@
 	gcc -ggdb -I$(TPDIR) -o $@ $< $(TPDIR)/runtime/object.c 
 
 $(OBJDIR)/%.tp.c : $(SRCDIR)/%.tp
-	d8 $(TPC) -- -basedir $(TPDIR)/ -i src $(TPFLAGS) $< > $@
+	$(TPC) -basedir $(TPDIR)/ -i src $(TPFLAGS) $< -o $@
 
 clean :
 	rm -f $(OBJS) $(BINS)