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
|
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)
|
||||||
|
|
Reference in a new issue