source: trunk/anuga_core/source/anuga/fit_interpolate/Makefile @ 8967

Last change on this file since 8967 was 4656, checked in by duncan, 17 years ago

Ponit in polygon C code. Currently not connected to ANUGA.

File size: 818 bytes
Line 
1# Valid options: -DTIMER -DDISPLAY -DCONVEX -DHYBRID -DSORT -DRANDOM -DWINDING
2# You can define $MAKEOPTS outside the program for testing purposes.
3#
4# for testing purposes we leave all options off and invoke through $MAKEOPTS
5CCFLAGS=-O
6# good default if not testing:
7# CCFLAGS=-O -DTIMER -DDISPLAY -DSORT -DRANDOM
8
9
10# use this one for making one which will display the tests being done on an HP
11# and do:
12# export LDOPTS="-a shared"
13
14p_test:         ptinpoly.o ptinpoly.h p_test.c
15                cc -o p_test p_test.c $(CCFLAGS) $(MAKEOPTS) ptinpoly.o -lm
16# include these lines for linking in HP Starbase, for display version
17#                       -L /usr/lib/X11R4 \
18#                       -lXwindow \
19#                       -lsb \
20#                       -lXhp11 -lX11 -ldld \
21#                       -lm
22
23ptinpoly.o:     ptinpoly.c ptinpoly.h
24                cc -o ptinpoly.o -c ptinpoly.c $(CCFLAGS) $(MAKEOPTS)
25
26clean:
27                rm -f ptinpoly.o p_test
Note: See TracBrowser for help on using the repository browser.