PROJECT= oswietlenie_Phonga_teselacja
SOURCES= oswietlenie_Phonga_teselacja.cpp glut_main.cpp ../../common/shaders.cpp ../../common/text.cpp
OBJECTS= oswietlenie_Phonga_teselacja.o glut_main.o shaders.o text.o
CC= g++

$(PROJECT): $(OBJECTS)
	$(CC) -I../../common -O2 -g $(OBJECTS) -lGL -lglut -lGLEW -o $(PROJECT)
	@echo Compilation Complete

$(OBJECTS): $(SOURCES)
	@echo Compiling Sources
	$(CC) -I../../common -O2 -Wall -ansi -pedantic -g -c $(SOURCES)

clean:
	@echo Deleting up $(OBJECTS) $(PROJECT)
	rm -f *.o;rm $(PROJECT)
