.PHONY: all .PHONY: clean all: will_crash workaround clean: rm -f will_crash rm -f workaround LIBS=-lGL -lglut will_crash: main.c g++ -g -o will_crash main.c -DGL_GLEXT_PROTOTYPES $(LIBS) workaround: main.c g++ -g -o workaround main.c -DGL_GLEXT_PROTOTYPES -DWORKAROUND $(LIBS)