From 30ada8a9b3b27a4de44d9772aafbc2e57b19c04e Mon Sep 17 00:00:00 2001 From: Alec Lofquist Date: Wed, 18 Jul 2012 22:18:50 -0500 Subject: [PATCH] Fixed Makefile's clean command and Renderer linking error. --- Makefile | 2 +- src/Renderer.cpp | 2 ++ src/Renderer.h | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8ea7b1917..f8c11ab72 100644 --- a/Makefile +++ b/Makefile @@ -15,4 +15,4 @@ $(EXECUTABLE): $(OBJECTS) $(CC) $(CFLAGS) $< -o $@ clean: - rm -rf *o $(EXECUTABLE) + rm -rf src/*o $(EXECUTABLE) diff --git a/src/Renderer.cpp b/src/Renderer.cpp index 17404be8a..fff78d44d 100644 --- a/src/Renderer.cpp +++ b/src/Renderer.cpp @@ -1,5 +1,7 @@ #include "Renderer.h" +std::vector renderVector; + void Renderer::registerComponent(GuiComponent* comp) { renderVector.push_back(comp); diff --git a/src/Renderer.h b/src/Renderer.h index b140ea540..ffa61cee9 100644 --- a/src/Renderer.h +++ b/src/Renderer.h @@ -13,8 +13,6 @@ namespace Renderer void unregisterComponent(GuiComponent* comp); void render(); - - std::vector renderVector; } #endif