Some styling
This commit is contained in:
40
Makefile
40
Makefile
@@ -1,26 +1,26 @@
|
||||
CXX ?= c++
|
||||
CXXFLAGS ?= -O2
|
||||
CXXFLAGS += -Wall \
|
||||
-Wextra \
|
||||
-pipe \
|
||||
-Wmissing-declarations \
|
||||
-pedantic \
|
||||
-fstack-protector-strong \
|
||||
CXX ?= c++
|
||||
CXXFLAGS ?= -O2
|
||||
CXXFLAGS += -Wall \
|
||||
-Wextra \
|
||||
-pipe \
|
||||
-Wmissing-declarations \
|
||||
-pedantic \
|
||||
-fstack-protector-strong
|
||||
|
||||
LDFLAGS = -lncursesw -Wl,-z,relro,-z,now
|
||||
LDFLAGS = -lncursesw -Wl,-z,relro,-z,now
|
||||
|
||||
SOURCES = main.cpp \
|
||||
chess.cpp \
|
||||
bishop.cpp \
|
||||
rook.cpp \
|
||||
queen.cpp \
|
||||
king.cpp \
|
||||
knight.cpp \
|
||||
pawn.cpp
|
||||
SOURCES = main.cpp \
|
||||
chess.cpp \
|
||||
bishop.cpp \
|
||||
rook.cpp \
|
||||
queen.cpp \
|
||||
king.cpp \
|
||||
knight.cpp \
|
||||
pawn.cpp
|
||||
|
||||
OBJECTS = $(SOURCES:.cpp=.o)
|
||||
EXECUTABLE = chess
|
||||
INSTALLDIR := $(DESTDIR)/usr/bin
|
||||
OBJECTS = $(SOURCES:.cpp=.o)
|
||||
EXECUTABLE = chess
|
||||
INSTALLDIR := $(DESTDIR)/usr/bin
|
||||
|
||||
all: $(SOURCES) $(EXECUTABLE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user