rename variable
This commit is contained in:
parent
ef67ea5483
commit
67e848098c
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -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)
|
||||
|
|
Reference in a new issue