From ebf6608e077c8d76d7f189c93a40e9f55ce630ff Mon Sep 17 00:00:00 2001 From: Andy Belle-Isle Date: Mon, 7 Sep 2015 12:49:05 -0400 Subject: Added New Header File and UI Class Added UI Class for controlling the UI of course :P Added gameHeader.h for variables that are accessed by multiple files/classes --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 85f2a82..d2fe513 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,10 @@ FLAGS_WIN32 = -lopengl32 -lmingw32 #-lSDL2_Image FLAGS = -m32 -Iinclude -Wall -Werror -lSDL2main -lSDL2 all: - @g++ src/main.cpp -o main $(FLAGS_LINUX) $(FLAGS) + @g++ src/main.cpp src/UIClass.cpp -o main $(FLAGS_LINUX) $(FLAGS) win32: - @g++ -L lib/ src/main.cpp -o main.exe $(FLAGS_WIN32) $(FLAGS) + @g++ -L lib/ src/main.cpp src/UIClass.cpp -o main.exe $(FLAGS_WIN32) $(FLAGS) clean: rm main* -- cgit v1.2.3