From bd60a8bf59c9e96d5e4bafbb77040d4473a07747 Mon Sep 17 00:00:00 2001 From: zvon Date: Fri, 11 Sep 2020 21:40:51 +0200 Subject: [PATCH] TETRIS: update Makefile --- tetris/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tetris/Makefile b/tetris/Makefile index ff2890c..99a937c 100644 --- a/tetris/Makefile +++ b/tetris/Makefile @@ -11,15 +11,15 @@ tetris: tetris.o sdlpp.o scenes.o config.o functions.o global_vars.o sdlpp.o: ../sdlpp.cpp ../sdlpp.hpp $(CXX) $(CFLAGS) -c -o $@ $< -tetris.o: tetris.cpp ../sdlpp.hpp config.hpp custom_classes.hpp scenes.hpp +tetris.o: tetris.cpp ../sdlpp.hpp config.hpp custom_classes.hpp scenes.hpp global_vars.hpp functions.hpp $(CXX) $(CFLAGS) -c -o $@ $< -scenes.o: scenes.cpp ../sdlpp.hpp config.hpp scenes.hpp +scenes.o: scenes.cpp ../sdlpp.hpp config.hpp scenes.hpp functions.hpp global_vars.hpp $(CXX) $(CFLAGS) -c -o $@ $< config.o: config.cpp config.hpp $(CXX) $(CFLAGS) -c -o $@ $< -functions.o: functions.cpp config.hpp functions.hpp +functions.o: functions.cpp config.hpp functions.hpp global_vars.hpp scenes.hpp $(CXX) $(CFLAGS) -c -o $@ $< -global_vars.o: global_vars.cpp config.hpp global_vars.hpp +global_vars.o: global_vars.cpp config.hpp global_vars.hpp functions.hpp $(CXX) $(CFLAGS) -c -o $@ $< clean: