From 89de9d2f5d4a05eeefa2cc77e7a4f7dd48b31048 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 7 Jan 2019 20:40:38 +0100 Subject: removed unused libraries from cRender.h and linkerflags from Makefile --- Makefile | 4 ++-- cRender.h | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3d97022..a9dc6ee 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CC = /usr/bin/g++ -CFLAGS = -Wall -g -std=c++11 -LDFLAGS = -lm +CFLAGS = -Wall -g -std=c++11 -Werror=missing-prototypes +LDFLAGS = OUTPUT = Engine BUILDDIR = build diff --git a/cRender.h b/cRender.h index 59ca352..1334cc3 100644 --- a/cRender.h +++ b/cRender.h @@ -3,13 +3,13 @@ #include #include #include -#include -#include +//#include +//#include #include #ifdef __linux__ #include - #include + //#include #include typedef int WORD; @@ -56,6 +56,7 @@ #define _COL_INVERSE 7 #define _COL_INVERSE_OFF 27 #endif + using namespace std; struct sPos -- cgit v1.2.3