all:
	$(info call one of the following rules to build for a specific compiler: mingw, gnuc)

mingw:
	gcc -DWIN32 example.c main-mingw.c -lopengl32 -mwindows -o example.exe

gnuc:
	gcc -DLINUX -o example main-gnuc.c example.c -lGL -lGLU -lglut -ldl

clean:
	rm -rf example
	rm -rf example.exe