diff --git a/demo/allegro5/Makefile b/demo/allegro5/Makefile index d792fa27f..669cda155 100644 --- a/demo/allegro5/Makefile +++ b/demo/allegro5/Makefile @@ -2,7 +2,7 @@ BIN = demo # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -Wno-unused-function -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic -Wno-unused-function SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/glfw_opengl2/Makefile b/demo/glfw_opengl2/Makefile index 9ac6b103c..91789f4ea 100644 --- a/demo/glfw_opengl2/Makefile +++ b/demo/glfw_opengl2/Makefile @@ -2,7 +2,7 @@ BIN = demo # Flags -CFLAGS += -std=c99 -Wall -Wextra -pedantic -O2 +CFLAGS += -std=c99 -Wall -Wextra -pedantic SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/glfw_opengl3/Makefile b/demo/glfw_opengl3/Makefile index 7c94f3dcd..35a9c65a4 100644 --- a/demo/glfw_opengl3/Makefile +++ b/demo/glfw_opengl3/Makefile @@ -2,7 +2,7 @@ BIN = demo # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/glfw_opengl4/Makefile b/demo/glfw_opengl4/Makefile index 7c94f3dcd..35a9c65a4 100644 --- a/demo/glfw_opengl4/Makefile +++ b/demo/glfw_opengl4/Makefile @@ -2,7 +2,7 @@ BIN = demo # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/glfw_vulkan/Makefile b/demo/glfw_vulkan/Makefile index 57675fd72..e738e13f6 100644 --- a/demo/glfw_vulkan/Makefile +++ b/demo/glfw_vulkan/Makefile @@ -2,7 +2,7 @@ BIN = demo # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/rawfb/x11/Makefile b/demo/rawfb/x11/Makefile index 10bb4a7ea..c927c4715 100644 --- a/demo/rawfb/x11/Makefile +++ b/demo/rawfb/x11/Makefile @@ -2,7 +2,7 @@ BIN = zahnrad # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -Wno-unused-function -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic -Wno-unused-function SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/sdl_opengl2/Makefile b/demo/sdl_opengl2/Makefile index 64f1af394..1f026408d 100644 --- a/demo/sdl_opengl2/Makefile +++ b/demo/sdl_opengl2/Makefile @@ -2,7 +2,7 @@ BIN = demo # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/sdl_opengl3/Makefile b/demo/sdl_opengl3/Makefile index fb3acd234..b64e3adbe 100644 --- a/demo/sdl_opengl3/Makefile +++ b/demo/sdl_opengl3/Makefile @@ -2,7 +2,7 @@ BIN = demo # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/sdl_opengles2/Makefile b/demo/sdl_opengles2/Makefile index 41d080e60..2610068ff 100644 --- a/demo/sdl_opengles2/Makefile +++ b/demo/sdl_opengles2/Makefile @@ -2,7 +2,7 @@ BIN = demo # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/sfml_opengl2/Makefile b/demo/sfml_opengl2/Makefile index e6487068a..8c0d2a4de 100644 --- a/demo/sfml_opengl2/Makefile +++ b/demo/sfml_opengl2/Makefile @@ -3,7 +3,7 @@ CC = g++ BIN = demo # Flags -CFLAGS += -s -Wall -Wextra -pedantic -O2 +CFLAGS += -s -Wall -Wextra -pedantic SRC = main.cpp OBJ = $(SRC:.cpp=.o) diff --git a/demo/sfml_opengl3/Makefile b/demo/sfml_opengl3/Makefile index 7bb97125d..31de19b12 100644 --- a/demo/sfml_opengl3/Makefile +++ b/demo/sfml_opengl3/Makefile @@ -3,7 +3,7 @@ CC = g++ BIN = demo # Flags -CFLAGS += -s -Wall -Wextra -pedantic -O2 +CFLAGS += -s -Wall -Wextra -pedantic SRC = main.cpp OBJ = $(SRC:.cpp=.o) diff --git a/demo/x11/Makefile b/demo/x11/Makefile index 1234eaf85..b2beba559 100644 --- a/demo/x11/Makefile +++ b/demo/x11/Makefile @@ -2,7 +2,7 @@ BIN = zahnrad # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -Wno-unused-function -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic -Wno-unused-function SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/x11_opengl2/Makefile b/demo/x11_opengl2/Makefile index e92437fdf..aa35bfb88 100644 --- a/demo/x11_opengl2/Makefile +++ b/demo/x11_opengl2/Makefile @@ -6,7 +6,7 @@ CC = clang DCC = gcc # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/x11_opengl3/Makefile b/demo/x11_opengl3/Makefile index e92437fdf..aa35bfb88 100644 --- a/demo/x11_opengl3/Makefile +++ b/demo/x11_opengl3/Makefile @@ -6,7 +6,7 @@ CC = clang DCC = gcc # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/x11_xft/Makefile b/demo/x11_xft/Makefile index 1ea53e676..5f3b7c960 100644 --- a/demo/x11_xft/Makefile +++ b/demo/x11_xft/Makefile @@ -2,7 +2,7 @@ BIN = zahnrad # Flags -CFLAGS += -std=c89 -Wall -Wextra -pedantic -Wno-unused-function -O2 +CFLAGS += -std=c89 -Wall -Wextra -pedantic -Wno-unused-function SRC = main.c OBJ = $(SRC:.c=.o) diff --git a/demo/xcb_cairo/Makefile b/demo/xcb_cairo/Makefile index c21ed9ba1..c1dd635de 100644 --- a/demo/xcb_cairo/Makefile +++ b/demo/xcb_cairo/Makefile @@ -1,6 +1,6 @@ # Target BIN = demo -CFLAGS += -std=c89 -pedantic -O2 +CFLAGS += -std=c89 -pedantic LDFLAGS += -lm SRC = ${wildcard *.c} OBJ = $(SRC:.c=.o) diff --git a/doc/Makefile b/doc/Makefile index 967bd8faa..3740e24a3 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -2,7 +2,7 @@ BIN = doc # Flags -CFLAGS += -std=c99 -pedantic -O2 +CFLAGS += -std=c99 -pedantic SRC = stddoc.c OBJ = $(SRC:.c=.o) diff --git a/example/Makefile b/example/Makefile index 1f24aea0d..c6ea92fcc 100644 --- a/example/Makefile +++ b/example/Makefile @@ -1,5 +1,5 @@ # Flags -CFLAGS += -std=c99 -Wall -Wextra -pedantic -Wno-misleading-indentation -Wno-shift-negative-value -O2 +CFLAGS += -std=c99 -Wall -Wextra -pedantic -Wno-misleading-indentation -Wno-shift-negative-value LIBS := ifeq ($(OS),Windows_NT) @@ -24,7 +24,7 @@ generate: clean ifeq ($(OS),Windows_NT) @mkdir bin 2> nul || exit 0 else - @mkdir -p bin + @mkdir -p bin endif clean: