MAKE = make
FC = gfortran
FFLAGS = `mcs-config --cflags` -O2 -fPIC -Wno-unused-variable
LDFLAGS = `mcs-config --libs`

.SUFFIXES: .o .f .inc

default: mcsdemo

mcsdemo: mcsdemo.o
	$(FC) -o $@ $@.o $(LDFLAGS)

# Clean (but do not remove executables)
clean:
	rm -f *.o *~

# Dependences start here
mcsdemo.o: mcs_usrlib.inc
