2 sed -n /'^gcc version '/s',.*\<\([A-Za-z]*\)\> \(special\|experimental\).*',\\1,p
\r
5 sed -n /'^gcc version '/s',.*\<\([A-Za-z]*\)\>.*',\\1,p
\r
8 ASK_SHELL_FIND_GCC := $(shell gcc -v 2>&1 | $(MinCyg_GCC))
\r
9 ifeq "$(ASK_SHELL_FIND_GCC)" ""
\r
10 ASK_SHELL_FIND_GCC := $(shell gcc -v 2>&1 | $(Any_GCC))
\r
12 ifneq "$(ASK_SHELL_FIND_GCC)" ""
\r
13 GCC_FLAVOR := $(strip $(ASK_SHELL_FIND_GCC))
\r
16 ifeq "$(GCC_FLAVOR)" "cygming"
\r
17 CFLAGS += -mno-cygwin
\r
18 override LIBS += -lglut32 -lglu32 -lopengl32
\r
21 LIBS += -lglut -lGLU -lGL
\r
23 CFLAGS += -ggdb -Wall -std=c99
\r
27 all: scene commit open
\r
29 scene: scene.c bitmap.c bitmap.h
\r
30 gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS)
\r
32 commit: scene.c bitmap.c bitmap.h
\r
33 git commit -a --allow-empty-message --message="" --untracked-files=no
\r
35 open: scene.c bitmap.c bitmap.h
\r
36 (nice -n 19 ./scene &) && echo
\r