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: \ integ.exe testC: \ integ integ.exe: integ.c $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) integ: integ.exe $@ F: \ integ_f.exe testF: \ integ_f integ_f.exe: integ.f $(F77CHK) integ.f $(F77) $(FFLAGS) -o $@ integ.f $(LFLAGS) integ_f: integ_f.exe $@