rename variable

This commit is contained in:
Mylloon 2022-11-13 17:38:19 +01:00
parent ef67ea5483
commit 67e848098c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -3,7 +3,7 @@ CFLAGS = -std=c99 -pedantic
RM = rm RM = rm
SOURCES = $(wildcard src/*.c) SOURCES = $(wildcard src/*.c)
OBJETS = $(patsubst %.c,%.c.o,$(notdir $(SOURCES))) OBJECTS = $(patsubst %.c,%.c.o,$(notdir $(SOURCES)))
EXE = othello EXE = othello
@ -16,11 +16,11 @@ main: compilation
dev: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -fsanitize=undefined -g dev: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -fsanitize=undefined -g
dev: compilation dev: compilation
compilation: $(OBJETS) compilation: $(OBJECTS)
$(CC) -o $(EXE) $(OBJETS) $(CC) -o $(EXE) $(OBJECTS)
all: all:
main main
clean: clean:
$(RM) $(OBJETS) $(EXE) $(RM) $(OBJECTS) $(EXE)