# You can use command line mingw32-make and pretend you are on linux
# Be sure to rename this file Makefile
# UPDATED to use freeglut and the tanktemplate
CC=g++
CFLAGS=-Wall -I"C:\MinGW\freeglut\include" -L"C:\MinGW\freeglut\lib"
DEPS=graphicsUtils.h GamePlay.h Barrier.h Tank.h
OBJ =OpenGL_TankTemplateNew.o graphicsUtils.o GamePlay.o Barrier.o Tank.o

LIBS=-lfreeglut -lopengl32 -lglu32
%.o: %.cpp $(DEPS)
	$(CC) -c -o $@ $< $(CFLAGS)

test: $(OBJ)
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)