#
# Makefile-pendulum_cvdemo
#
# This is the Makefile for the pendulum_cvdemo program.
# This file is configured for CVODE 2.7.0.
#
# This file was generated by the program VFGEN, version: 2.5.0-dev
# Generated on 14-May-2014 at 21:03
#
# 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

