Mercurial > repos > icfp2012
view Makefile @ 45:9f1ca5ba2684
Discard entries for which we can easily tell that it will be impossible for them to be better than the current best. This allows us to terminate when we cannot solve the map
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 15 Jul 2012 17:26:25 -0700 |
parents | cd3ec7d99330 |
children | 703488432369 |
line wrap: on
line source
OUTDIR := bin OBJDIR := build SRCDIR := src BINS := $(addprefix $(OUTDIR)/,sim lifter) OBJS := $(addprefix $(OBJDIR)/,sim.tp.c lifter.tp.c) TPDIR := ../tabletprog TPC := $(TPDIR)/tpc TPFLAGS := ifdef compilerdebug TPFLAGS += -compilerdebug endif all : $(BINS) $(OBJS) build/lifter.tp.c : src/sim.tp src/lifter.tp $(OUTDIR)/% : $(OBJDIR)/%.tp.c gcc -ggdb -I$(TPDIR) -o $@ $< $(TPDIR)/runtime/object.c $(OBJDIR)/%.tp.c : $(SRCDIR)/%.tp $(TPC) -basedir $(TPDIR)/ -i src $(TPFLAGS) $< -o $@ clean : rm -f $(OBJS) $(BINS) cleansim : rm -f bin/sim build/sim.tp.c cleanlift : rm -f bin/lifter build/lifter.tp.c