Initial commit
This commit is contained in:
27
Makefile
Normal file
27
Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
|
||||
SRCS = ./src/main.cpp \
|
||||
./src/Board.cpp \
|
||||
./src/Game.cpp
|
||||
|
||||
NAME = CelebratingTetris
|
||||
|
||||
FLAGS = -lsfml-graphics -lsfml-window -lsfml-system
|
||||
|
||||
OBJS = $(SRCS:.cpp=.o)
|
||||
|
||||
COMPILER = clang++
|
||||
|
||||
all: $(NAME)
|
||||
|
||||
$(NAME): $(OBJS)
|
||||
$(COMPILER) -o $(NAME) $(FLAGS) $(OBJS)
|
||||
|
||||
clean:
|
||||
rm -fr $(OBJS)
|
||||
|
||||
fclean: clean
|
||||
rm -fr $(NAME)
|
||||
|
||||
re: fclean all
|
||||
|
||||
Reference in New Issue
Block a user