Fixed Makefile's clean command and Renderer linking error.

This commit is contained in:
Alec Lofquist 2012-07-18 22:18:50 -05:00
parent cf77599950
commit 30ada8a9b3
3 changed files with 3 additions and 3 deletions

View file

@ -15,4 +15,4 @@ $(EXECUTABLE): $(OBJECTS)
$(CC) $(CFLAGS) $< -o $@
clean:
rm -rf *o $(EXECUTABLE)
rm -rf src/*o $(EXECUTABLE)

View file

@ -1,5 +1,7 @@
#include "Renderer.h"
std::vector<GuiComponent*> renderVector;
void Renderer::registerComponent(GuiComponent* comp)
{
renderVector.push_back(comp);

View file

@ -13,8 +13,6 @@ namespace Renderer
void unregisterComponent(GuiComponent* comp);
void render();
std::vector<GuiComponent*> renderVector;
}
#endif