CC=x86_64-w64-mingw32-gcc CFLAGS=-static-libgcc -static-libstdc++ -I.. LIBS=-lopengl32 -lgdi32 layered.exe: layered.c $(CC) $(CFLAGS) -o layered.exe layered.c ../wglarb.c $(LIBS)