chiark / gitweb /
rename things more sensibly; now it can optimise but the edgewise vertex formula...
[moebius2.git] / Makefile
index a4b09dca05faae63cfd27247437570fe023b4d90..4726f04c344629cd7dea2626de03e74dd28b196e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 
-TARGETS= minimise primer initial view
+TARGETS= minimise primer view lumpy.cfm sgtatham.cfm
 
 CWARNS=        -Wall -Wwrite-strings -Wpointer-arith -Werror -Wshadow
 CXXWARNS= $(CWARNS) -Wno-shadow -Wno-error
@@ -17,24 +17,24 @@ all:                $(TARGETS)
 minimise:      energy.o bgl.o common.o mgraph.o
                $(CXX) $(CXXFLAGS) -o $@ $^ $(LIBGSL)
 
-prime:         primer
-               ./$^ $o
-
 primer:                primer.o common.o
                $(CC) $(CFLAGS) -o $@ $^ $(LIBGSL)
 
+prime.data:    primer
+               ./$^ $o
+
 view:          view.o common.o mgraph.o
                $(CC) $(CFLAGS) -o $@ $^ $(LIBGSL) -L/usr/X11R6/lib -lX11
 
-sgtatham:      generator prime sgtatham/z.typescript
+sgtatham.cfm:  sgtatham-regenerator prime.data sgtatham/z.typescript
                ./$^ -T -o$@
 
-lumpy:         approxmodel prime ../moebius/ins-new ../moebius/a.out
+lumpy.cfm: oldmoebius-converter prime.data ../moebius/ins-new ../moebius/a.out
                ./$^ -o$@
 
 clean:
-               rm -f *.o $(TARGETS) *.new *.tmp *.rej *.orig core vgcore.*
-               rm -f initial
+               rm -f prime.data $(TARGETS)
+               rm -f *.o *.new *.tmp *.rej *.orig core vgcore.* *~
                rm -f *.d
 
 realclean:     clean