Rev 3844 | 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@ |
||
6776 | georgesk | 6 | LDFLAGS=@LDFLAGS@ |
7 | CPPFLAGS=@CPPFLAGS@ |
||
10 | reyssat | 8 | defines=@DEFINES@ |
9 | lopt=-lm |
||
10 | |||
11 | C=edgelist.c geometry.c heap.c main.c memory.c output.c voronoi.c |
||
12 | O=edgelist.o geometry.o heap.o main.o memory.o output.o voronoi.o |
||
13 | |||
14 | all: voronoi |
||
15 | |||
16 | tt: voronoi t |
||
17 | voronoi -t <t >tt |
||
18 | voronoi: $O |
||
6776 | georgesk | 19 | $(cc) $(cflags) $(LDFLAGS) -o voronoi $O -lm |
10 | reyssat | 20 | |
21 | %.o: %.c |
||
6776 | georgesk | 22 | $(cc) $(cflags) $(CPPFLAGS) -o $@ -c $< |
10 | reyssat | 23 | |
24 | $O:vdefs.h |
||
25 | |||
26 | clean: |
||
27 | rm -f *.o voronoi |
||
28 | |||
29 | distclean: clean |
||
30 | rm -f $(wims_home)/public_html/bin/voronoi |
||
31 | rm -f Makefile |