1OBJECTS = GabeditTextEdit.o AtomsProp.o Jacobi.o QL.o Transformation.o Utils.o UtilsInterface.o Vector3d.o Matrix3D.o HydrogenBond.o PovrayUtils.o UtilsGL.o ConvUtils.o GabeditXYPlot.o GabeditContoursPlot.o UtilsCairo.o Zlm.o MathFunctions.o GTF.o TTables.o Interpolation.o Point3D.o UtilsVASP.o 2 3include ../../CONFIG 4CFLAGS = $(COMMONCFLAGS) $(GTKCFLAGS) $(OGLCFLAGS) 5 6all: compiling 7 8%.o : %.c 9 $(CC) -c $(CFLAGS) $< -o $@ 10 11compiling: $(OBJECTS) 12 13clean: 14 @$(RM) *.chk p *o gabedit *.com *.out *.log *.test test* *.cpp *old *.ps .*swp *~ 15 16#make dependance 17SRCS = $(OBJECTS:%.o=%.c) 18dep : 19 gcc -MM $(SRCS) > Dep.mk 20 21-include Dep.mk 22 23