Some styling

This commit is contained in:
2015-04-26 12:16:23 +03:00
parent 026be95985
commit 48282816e1

View File

@@ -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)