diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-01-07 20:40:38 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-01-07 20:40:38 +0100 |
commit | 89de9d2f5d4a05eeefa2cc77e7a4f7dd48b31048 (patch) | |
tree | 678ebd78a6174af7b9ce4712971010e1f5f74e6d | |
parent | 7f49c5437a78a20c079b59667402717dad19a64b (diff) | |
download | termgl-89de9d2f5d4a05eeefa2cc77e7a4f7dd48b31048.tar.gz |
removed unused libraries from cRender.h and linkerflags from Makefile
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | cRender.h | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -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 @@ -3,13 +3,13 @@ #include <stdlib.h> #include <stdio.h> #include <string> -#include <math.h> -#include <iostream> +//#include <math.h> +//#include <iostream> #include <termios.h> #ifdef __linux__ #include <unistd.h> - #include <term.h> + //#include <term.h> #include <sys/ioctl.h> typedef int WORD; @@ -56,6 +56,7 @@ #define _COL_INVERSE 7 #define _COL_INVERSE_OFF 27 #endif + using namespace std; struct sPos |