CC = gcc F77 = g77 CFLAGS = -s -O -I../include -W -Wall #-DDEBUG #-ggdb FFLAGS = $(CFLAGS) LFLAGS = -L../lib -lTB -lGrWin -Wl,--subsystem,console -mwindows F77CHK = ../bin/f77chk.pl all: F C test: testF testC clean: -rm *.exe ####################################################################### C: \ bifurcate.exe\ graph_sol.exe\ period.exe\ entropy_fragment.exe\ iterate_map.exe\ poincare.exe testC: \ bifurcate\ graph_sol\ period\ entropy_fragment\ iterate_map\ poincare bifurcate.exe: bifurcate.c $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) graph_sol.exe: graph_sol.c $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) period.exe: period.c $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) entropy_fragment.exe: entropy_fragment.c $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) iterate_map.exe: iterate_map.c $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) poincare.exe: poincare.c $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) bifurcate: bifurcate.exe $@ graph_sol: graph_sol.exe $@ period: period.exe $@ entropy_fragment: entropy_fragment.exe $@ iterate_map: iterate_map.exe $@ poincare: poincare.exe $@ F: \ bifurcate_f.exe\ graph_sol_f.exe\ period_f.exe\ entropy_fragment_f.exe\ iterate_map_f.exe\ poincare_f.exe testF: \ bifurcate_f\ graph_sol_f\ period_f\ entropy_fragment_f\ iterate_map_f\ poincare_f bifurcate_f.exe: bifurcate.f $(F77CHK) bifurcate.f $(F77) $(FFLAGS) -o $@ bifurcate.f $(LFLAGS) graph_sol_f.exe: graph_sol.f rfunc_f.c $(F77CHK) -u graph_sol.f $(F77) $(FFLAGS) -o $@ graph_sol.f rfunc_f.c $(LFLAGS) period_f.exe: period.f rfunc_f.c $(F77CHK) -u period.f $(F77) $(FFLAGS) -o $@ period.f rfunc_f.c $(LFLAGS) entropy_fragment_f.exe: entropy_fragment.f $(F77CHK) entropy_fragment.f $(F77) $(FFLAGS) -o $@ entropy_fragment.f $(LFLAGS) iterate_map_f.exe: iterate_map.f $(F77CHK) iterate_map.f $(F77) $(FFLAGS) -o $@ iterate_map.f $(LFLAGS) poincare_f.exe: poincare.f $(F77CHK) poincare.f $(F77) $(FFLAGS) -o $@ poincare.f $(LFLAGS) bifurcate_f: bifurcate_f.exe $@ graph_sol_f: graph_sol_f.exe $@ period_f: period_f.exe $@ entropy_fragment_f: entropy_fragment_f.exe $@ iterate_map_f: iterate_map_f.exe $@ poincare_f: poincare_f.exe $@