Rev 3806 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
10 | reyssat | 1 | # @configure_input@ |
2 | |||
3 | wims_home=../../.. |
||
4 | cc=@CC@ |
||
5 | cflags=@CFLAGS@ -Wall @STATIC_LIB@ |
||
6 | defines=@DEFINES@ |
||
7 | lopt=-lm |
||
8 | |||
9 | C=edgelist.c geometry.c heap.c main.c memory.c output.c voronoi.c |
||
10 | O=edgelist.o geometry.o heap.o main.o memory.o output.o voronoi.o |
||
11 | |||
12 | all: voronoi |
||
13 | |||
14 | tt: voronoi t |
||
15 | voronoi -t <t >tt |
||
16 | voronoi: $O |
||
3844 | kbelabas | 17 | $(cc) $(cflags) -o voronoi $O -lm |
10 | reyssat | 18 | |
19 | %.o: %.c |
||
3806 | kbelabas | 20 | $(cc) $(cflags) -o $@ -c $< |
10 | reyssat | 21 | |
22 | $O:vdefs.h |
||
23 | |||
24 | clean: |
||
25 | rm -f *.o voronoi |
||
26 | |||
27 | distclean: clean |
||
28 | rm -f $(wims_home)/public_html/bin/voronoi |
||
29 | rm -f Makefile |