# 'make'        : build blear and serial
# 'make clean'  : remove build products

APPS = clean eee4084f_ogl_simple eee4084f_ogl_omp eee4084f_ogl_mpi

OBJS = $(APPS:%=%.o)

ARCH=$(shell uname -m)
OS=$(shell uname -s)

CC = g++

LDLIBS = -lGL -lglut -lGLU -lgomp

all: $(APPS)

eee4084f_ogl_simple:
	$(CC) eee4084f_ogl_starform.cpp $(LDLIBS) -o eee4084f_ogl_simple
eee4084f_ogl_omp:
	$(CC) eee4084f_ogl_openmp_starform.cpp $(LDLIBS) -o eee4084f_ogl_omp
eee4084f_ogl_mpi:
	mpicc eee4084f_ogl_mpi_starform.cpp $(LDLIBS) -o eee4084f_ogl_mpi
	
clean:
	rm -f $(APPS) $(OBJS) *.o
