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