# This is the Makefile for Cygwin

PRGS = COMv3.exe CP.exe Cluster.exe PIvf.exe PIvf3.exe

all: $(PRGS)

COMv3.exe: COMv3.cpp
	g++ -O2 -o $@ $<

CP.exe: CP.cpp
	g++ -O2 -o $@ $< -lgmp

Cluster.exe: Cluster.cpp
	g++ -O2 -o $@ $<

PIvf.exe: PIvf.cpp
	g++ -O2 -o $@ $< -lgmp -lgmpxx

PIvf3.exe: PIvf3.cpp
	g++ -O2 -o $@ $< -lgmp

clean:
	rm -f $(PRGS)

