chiark / gitweb /
build system
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 1 Mar 2019 00:13:50 +0000 (00:13 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 1 Mar 2019 00:14:04 +0000 (00:14 +0000)
.gitignore
Makefile

index bb3988dda4c8b7f96e17130aed98255fe0f9815b..6c8bb5fec1cde1e0d89be143f5f1c1a0352b5ccf 100644 (file)
@@ -5,3 +5,4 @@ opt.plag
 faces.plag
 .opt.plag.sums
 *.tmp
+test.ps
index 0207b2d6ef8597dac38372492e15fc12d88e20ab..9e9dd152bdd04a03d19351cf8313d33e3439cf55 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,10 @@ export PERL_HASH_SEED=1
 
 PLANAR_GRAPH=planar-graph
 
+default: all
+
+all: test.ps
+
 map.plag: generate-plag input-graph Parse.pm 
        ./$< input-graph $o
 
@@ -23,5 +27,8 @@ opt.plag: maybe-rerun-optim map.plag $(PLANAR_GRAPH) Makefile
 faces.plag: opt.plag $(PLANAR_GRAPH) Makefile
        $(PLANAR_GRAPH) RF $< W-FACES $@.tmp && $i
 
+test.ps: generate-board faces.plag input-graph
+       ./$^ $o
+
 #map.ps: map.dot
 #      neato -Tps $^ $o