Mercurial > repos > icfp2012
changeset 4:d4ba6138c99e
Add intermediate files to target so make doesn't delete them
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 13 Jul 2012 18:25:35 -0700 |
parents | bb29dcd46cbf |
children | be946b2a2cbc |
files | Makefile |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri Jul 13 17:33:02 2012 -0700 +++ b/Makefile Fri Jul 13 18:25:35 2012 -0700 @@ -6,14 +6,14 @@ TPDIR := ../tabletprog TPC := $(TPDIR)/tpc.js +all : $(BINS) $(OBJS) + $(OUTDIR)/% : $(OBJDIR)/%.tp.c gcc -I$(TPDIR) -o $@ $< $(TPDIR)/runtime/object.c $(OBJDIR)/%.tp.c : $(SRCDIR)/%.tp d8 $(TPC) -- -basedir $(TPDIR)/ $< > $@ -all : $(BINS) - clean : rm -f $(OBJS) rm -f $(BINS)