all: texture-units-gl2 texture-units-gl3 texture-units-gl2: texture-units-gl2.c units.o cc -W -Wall -Werror -Wno-unused-parameter -std=c89 -o texture-units-gl2 texture-units-gl2.c units.o -lGL -lX11 texture-units-gl3: texture-units-gl3.c units.o cc -W -Wall -Werror -Wno-unused-parameter -std=c89 -o texture-units-gl3 texture-units-gl3.c units.o -lGL -lX11 units.o: units.c cc -W -Wall -Werror -Wno-unused-parameter -std=c89 -c -o units.o units.c clean: rm -f texture-units-gl2 texture-units-gl3 units.o