demo: Disable compiler optimization
This commit is contained in:
parent
0a28e3002b
commit
1f0bb39f60
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -2,7 +2,7 @@
|
||||
BIN = doc
|
||||
|
||||
# Flags
|
||||
CFLAGS += -std=c99 -pedantic -O2
|
||||
CFLAGS += -std=c99 -pedantic
|
||||
|
||||
SRC = stddoc.c
|
||||
OBJ = $(SRC:.c=.o)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user