FLAGS=" \ -Wall -Wextra -Werror -pedantic \ -Wno-old-style-declaration \ -Wno-missing-braces \ -Wno-unused-variable \ -Wno-unused-but-set-variable \ -Wno-unused-parameter \ -Wno-overlength-strings \ -O3 \ -fsanitize=undefined,address,leak \ -lX11 -lm -lasound" if [ ! -d ./bin ]; then mkdir ./bin fi # gcc $FLAGS -o ./bin/graph ./examples/graph.c # gcc $FLAGS -o ./bin/particles ./examples/particles.c # gcc $FLAGS -o ./bin/julia_set ./examples/julia_set.c # gcc $FLAGS -o ./bin/game_of_life ./examples/game_of_life.c # gcc $FLAGS -o ./bin/labyrinth ./examples/labyrinth.c # gcc $FLAGS -o ./bin/sinewave ./examples/sinewave.c gcc $FLAGS -o ./bin/pixels ./examples/pixels.c # gcc $FLAGS -o ./bin/ui ./examples/ui.c # gcc $FLAGS -o ./bin/echo ./examples/echo.c # gcc $FLAGS -o ./bin/proto ./examples/proto.c