# This file was automatically generated by makemake.
# Do not edit it directly!
# Any changes you make will be silently overwritten.

# Edit this file to define constants and custom build targets.
# Please refer to the makemake documentation for more information.
#
# To compile multiple versions of a program or library, please study
#     http://www.its.caltech.edu/~jafl/jcc/multi_version.html

# Useful directories

MYCODEDIR := .

# Directories to search for header files

SEARCHDIRS := -I- -I${MYCODEDIR}

# makemake variables

DEPENDFLAGS := -g -Wall ${SEARCHDIRS}

# C preprocessor (C, C++, FORTRAN)

CPPFLAGS = 

# C compiler

CC     := gcc
CFLAGS  = ${DEPENDFLAGS}

%.o : %.c
	${CC} ${CPPFLAGS} ${CFLAGS} -c $< -o $@

# C++ compiler

CXX      := g++
CXXFLAGS  = ${DEPENDFLAGS}

%.o : %.cc
	${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@

%.o : %.C
	${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@

%.o : %.cpp
	${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@

%.o : %.cxx
	${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@

# FORTRAN compiler

FC     := f77
FFLAGS  = 

# C/C++/Eiffel/FORTRAN linker

LINKER    := g++
LDFLAGS    = 
LOADLIBES := -lm

# Java compiler

JAVAC  := javac
JFLAGS  = 
JAR    := jar

%.class : %.java
	${JAVAC} ${JFLAGS} $<


# This is what makemake added


# dome

dome : ./Cartesian.o ./Chords.o ./Command.o ./Dome.o ./Dxfsave.o ./Faces.o ./Geodesic.o ./Labels.o ./Points.o ./Povsave.o ./ThetaTruncation.o ./Wrlsave.o
	${LINKER} ${LDFLAGS} -o $@ ${filter-out %.a %.so, $^} ${LOADLIBES}

# target for making everything

.PHONY : all
all: dome


# target for removing all object files

.PHONY : tidy
tidy::
	@${RM} core ./Cartesian.o ./Chords.o ./Command.o ./Dome.o ./Dxfsave.o ./Faces.o ./Geodesic.o ./Labels.o ./Points.o ./Povsave.o ./ThetaTruncation.o ./Wrlsave.o

# target for removing all object files

.PHONY : clean
clean:: tidy
	@${RM} dome

# list of all source files

MM_ALL_SOURCES := ./Cartesian.cpp ./Chords.cpp ./Command.cpp ./Dome.cpp ./Dxfsave.cpp ./Faces.cpp ./Geodesic.cpp ./Labels.cpp ./Points.cpp ./Povsave.cpp ./ThetaTruncation.cpp ./Wrlsave.cpp


# target for checking a source file

CHECKSYNTAXFILE := ${basename ${filter %${CHECKSTRING}, ${MM_ALL_SOURCES}}}

.PHONY : checksyntax
checksyntax:
  ifneq (${CHECKSYNTAXFILE},)
	@${MAKE} ${addsuffix .o, ${CHECKSYNTAXFILE}}
  else
	@echo No target to make ${CHECKSTRING}
  endif


# target for touching appropriate source files

.PHONY : touch
touch::
	@list=$$(grep -l ${TOUCHSTRING} ${MM_ALL_SOURCES}); \
     for file in $$list; do { echo $$file; touch $$file; } done


# target for calculating dependencies (MAKEMAKE)

.PHONY : jdepend
jdepend:
	@${MAKEMAKE} --depend Makefile -- ${DEPENDFLAGS} --  ./Cartesian.cpp ./Cartesian.o ./Chords.cpp ./Chords.o ./Command.cpp ./Command.o ./Dome.cpp ./Dome.o ./Dxfsave.cpp ./Dxfsave.o ./Faces.cpp ./Faces.o ./Geodesic.cpp ./Geodesic.o ./Labels.cpp ./Labels.o ./Points.cpp ./Points.o ./Povsave.cpp ./Povsave.o ./ThetaTruncation.cpp ./ThetaTruncation.o ./Wrlsave.cpp ./Wrlsave.o


# DO NOT DELETE THIS LINE -- makemake depends on it.

./Cartesian.o: ./Cartesian.h ./Chords.h ./Command.h ./Faces.h ./Geodesic.h ./Labels.h ./Points.h ./ThetaTruncation.h /usr/include/ctype.h /usr/include/math.h /usr/include/stdlib.h /usr/include/string.h

./Chords.o: ./Chords.h

./Command.o: ./Command.h

./Dome.o: ./Cartesian.h ./Chords.h ./Command.h ./Faces.h ./Geodesic.h ./Labels.h ./Points.h ./ThetaTruncation.h /usr/include/ctype.h /usr/include/math.h /usr/include/stdlib.h /usr/include/string.h

./Dxfsave.o: ./Cartesian.h ./Chords.h ./Command.h ./Faces.h ./Geodesic.h ./Labels.h ./Points.h ./ThetaTruncation.h /usr/include/ctype.h /usr/include/math.h /usr/include/stdlib.h /usr/include/string.h

./Faces.o: ./Faces.h

./Geodesic.o: ./Cartesian.h ./Chords.h ./Command.h ./Faces.h ./Geodesic.h ./Labels.h ./Points.h ./ThetaTruncation.h /usr/include/ctype.h /usr/include/math.h /usr/include/stdlib.h /usr/include/string.h

./Labels.o: ./Labels.h

./Points.o: ./Points.h

./Povsave.o: ./Cartesian.h ./Chords.h ./Command.h ./Faces.h ./Geodesic.h ./Labels.h ./Points.h ./ThetaTruncation.h /usr/include/ctype.h /usr/include/math.h /usr/include/stdlib.h /usr/include/string.h

./ThetaTruncation.o: ./ThetaTruncation.h

./Wrlsave.o: ./Cartesian.h ./Chords.h ./Command.h ./Faces.h ./Geodesic.h ./Labels.h ./Points.h ./ThetaTruncation.h /usr/include/ctype.h /usr/include/math.h /usr/include/stdlib.h /usr/include/string.h

