OBJECTS = cnv2.o csparse.o galaxy_fitting.o utils.o LIBNAME = libconvolution.a all: $(OBJECTS) $(LIBTOOL) $(LIBNAME) $(OBJECTS) $(OBJECTS): %.o: %.c $(CC) -c $(CFLAGS) $< -o $@ clean: rm -f $(OBJECTS) $(LIBNAME)