# # Makefile-pendulum_cvdemo # # This is the Makefile for the pendulum_cvdemo program. # This file is configured for SUNDIALS v2.3.0, CVODE v2.5.0. # # This file was generated by the program VFGEN (Version:2.4.0) # Generated on 10-Jul-2008 at 11:48 # # This Makefile is not guaranteed to work in all operating systems. # You may have to edit this file to meet the conventions of your operating system. # SUNDIALS_DIR=/usr/local SUNDIALS_LIB_DIR=$(SUNDIALS_DIR)/lib SUNDIALS_INC_DIR=$(SUNDIALS_DIR)/include SUNDIALS_LIBS=-lsundials_cvode -lsundials_nvecserial SUNDIALS_INCS=-I$(SUNDIALS_INC_DIR) LIBS=-lm all: pendulum_cvdemo pendulum_cvdemo: pendulum_cvdemo.o pendulum_cv.o $(CC) $(LDFLAGS) -o pendulum_cvdemo pendulum_cvdemo.o pendulum_cv.o -L$(SUNDIALS_LIB_DIR) $(SUNDIALS_LIBS) $(LIBS) pendulum_cvdemo.o: pendulum_cvdemo.c pendulum_cv.h $(CC) $(CPPFLAGS) $(SUNDIALS_INCS) -c pendulum_cvdemo.c pendulum_cv.o: pendulum_cv.c pendulum_cv.h $(CC) $(CPPFLAGS) $(SUNDIALS_INCS) -c pendulum_cv.c clean: rm -f pendulum_cvdemo pendulum_cvdemo.o pendulum_cv.o