#
HOME = /fs9/0/users/derriere
OPTIONS2 = -I. -lX11 -lm -lsunmath -g -p
OPTIONS = -lm -O
#
#
default: find2psc6
#
find2psc: find2psc.o allocations.o indexxPtr.o co2mass.h
	cc $(OPTIONS) -o find2psc find2psc.o allocations.o indexxPtr.o 

#
#

find2psc2: find2psc2.o allocations.o indexxPtr.o co2mass.h
	cc $(OPTIONS) -o find2psc2 find2psc2.o allocations.o indexxPtr.o 

#
find2psc3: find2psc3.o allocations.o indexxPtr.o co2mass.h
	cc $(OPTIONS) -o find2psc3 find2psc3.o allocations.o indexxPtr.o 
#
find2psc4: find2psc4.c allocations.c indexxPtr.c co2mass_2.h
	cc $(OPTIONS) -o find2psc4 find2psc4.c allocations.c indexxPtr.c 
#
find2psc5: find2psc5.c allocations.c indexxPtr.c co2mass_2.h
	cc $(OPTIONS) -o find2psc5 find2psc5.c allocations.c indexxPtr.c 
#
find2psc6: find2psc6.c allocations.c indexxPtr.c co2mass_2.h
	cc $(OPTIONS) -o find2psc6 find2psc6.c allocations.c indexxPtr.c 
#
add_multiflag: add_multiflag.c allocations.c indexxPtr.c co2mass_2.h
	cc $(OPTIONS) -o add_multiflag add_multiflag.c allocations.c indexxPtr.c 
#
dec2psc3.o: dec2psc3.c
	cc -c $(OPTIONS) dec2psc3.c
#
dec2psc3: dec2psc3.c co2mass.h
	cc $(OPTIONS) -o dec2psc3 dec2psc3.c allocations.c indexxPtr.c 
#
dec2psc6.o: dec2psc6.c
	cc -c $(OPTIONS) dec2psc6.c
#
dec2psc6: dec2psc6.c co2mass.h
	cc $(OPTIONS) -o dec2psc6 dec2psc6.c allocations.c indexxPtr.c 
#
nbh: nbh.o allocations.o indexxPtr.o co2mass.h
	cc $(OPTIONS) -o nbh nbh.o allocations.o indexxPtr.o 
	mv nbh ../
#
nbh2: nbh2.o allocations.o indexxPtr.o co2mass.h
	cc $(OPTIONS) -o nbh2 nbh2.o allocations.o indexxPtr.o 

co2mass: co2mass.o allocations.o indexxPtr.o co2mass.h
	cc $(OPTIONS) -o co2mass co2mass.o allocations.o indexxPtr.o 

#
#

co2mass2: co2mass2.o allocations.o indexxPtr.o co2mass.h
	cc $(OPTIONS) -o co2mass2 co2mass2.o allocations.o indexxPtr.o 
#
co2mass3: co2mass3.o allocations.o indexxPtr.o co2mass.h
	cc $(OPTIONS) -o co2mass3 co2mass3.o allocations.o indexxPtr.o 

modif_header: modif_header.c co2mass_2.h
	cc $(OPTIONS) -o modif_header modif_header.c
#
#
install: find2psc6
	cp -p find2psc6 ../bin/
#
clean: *.o
	rm *.o
