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: \ interfere.exe\ synthesize.exe\ analyze.exe\ oscillators.exe\ FFTdemo.exe testC: \ interfere\ synthesize\ analyze\ oscillators\ FFTdemo interfere.exe: interfere.c $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) synthesize.exe: synthesize.c $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) analyze.exe: analyze.c $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) oscillators.exe: oscillators.c $(CC) $(CFLAGS) -o $@ $< $(LFLAGS) FFTdemo.exe: FFTdemo.c FFT.c $(CC) $(CFLAGS) -o $@ FFTdemo.c FFT.c $(LFLAGS) interfere: interfere.exe $@ synthesize: synthesize.exe $@ analyze: analyze.exe $@ oscillators: oscillators.exe $@ FFTdemo: FFTdemo.exe $@ F: \ interfere_f.exe\ synthesize_f.exe\ analyze_f.exe\ oscillators_f.exe\ FFTdemo_f.exe testF: \ interfere_f\ synthesize_f\ analyze_f\ oscillators_f\ FFTdemo_f interfere_f.exe: interfere.f $(F77CHK) interfere.f $(F77) $(FFLAGS) -o $@ interfere.f $(LFLAGS) synthesize_f.exe: synthesize.f $(F77CHK) synthesize.f $(F77) $(FFLAGS) -o $@ synthesize.f $(LFLAGS) analyze_f.exe: analyze.f $(F77CHK) analyze.f $(F77) $(FFLAGS) -o $@ analyze.f $(LFLAGS) oscillators_f.exe: oscillators.f $(F77CHK) oscillators.f $(F77) $(FFLAGS) -o $@ oscillators.f $(LFLAGS) FFTdemo_f.exe: FFTdemo.f FFT.f $(F77CHK) FFTdemo.f FFT.f $(F77) $(FFLAGS) -o $@ FFTdemo.f FFT.f $(LFLAGS) interfere_f: interfere_f.exe $@ synthesize_f: synthesize_f.exe $@ analyze_f: analyze_f.exe $@ oscillators_f: oscillators_f.exe $@ FFTdemo_f: FFTdemo_f.exe $@