# Make garant include ../config.make .SUFFIXES: .C .o .f .c # Files used by garant OBJS = atom.o \ bib.o \ choice.o \ co.o \ cmdline.o \ element.o \ erPeak.o \ frag.o \ functions.o \ imp.o \ interpreter.o \ log.o \ map.o \ match.o \ nmrdia.o \ opt.o \ parser.o \ peak.o \ prep.o \ pos.o \ rel.o \ score.o \ garant.o \ specTypes.o \ ss.o \ str.o \ wert.o \ eva.o \ getcmd.o \ intrin.o \ util.o \ sysfun.o \ spec_interface.o \ tree_nD.o \ coord_conversions.o # Main program dependencies # .KEEP_STATE: all: $(PROGRAM) test: $(OBJS) $(C++) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(PROGRAM): $(OBJS) $(C++) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) nmrdia.o: $(C++) -c $(C++FLAGS2) -DBASEDIR=\"$(BASEDIR)\" nmrdia.C .C.o: $(C++) -c $(C++FLAGS) -DBASEDIR=\"$(BASEDIR)\" $< .c.o: $(CC) -c $(CFLAGS) $< .f.o: $(FC) -c $(FFLAGS) $< purge: rm -f *% *.o core *.trace clean: purge rm -f garant test