diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-01-07 20:09:58 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-01-07 20:09:58 +0100 |
commit | 7f49c5437a78a20c079b59667402717dad19a64b (patch) | |
tree | 8845b1c12e0840aec32e7821032e7bf5d5e3fdb7 | |
parent | 0b58079fc74e87afb8473d93a8d9814fc48ef932 (diff) | |
download | termgl-7f49c5437a78a20c079b59667402717dad19a64b.tar.gz |
updated Makefile, included gotoxy() to ifdef WIN32 in cRender.h
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | cRender.h | 3 |
2 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ CC = /usr/bin/g++ CFLAGS = -Wall -g -std=c++11 -LDFLAGS = -lm -lcurses +LDFLAGS = -lm OUTPUT = Engine BUILDDIR = build @@ -18,5 +18,4 @@ all: clean debug .PHONY: clean clean: - rm -f $(BUILDDIR)/$(OUTPUT) *.o - rmdir --ignore-fail $(BUILDDIR) + rm -df $(BUILDDIR)/$(OUTPUT) *.o @@ -134,8 +134,9 @@ private: #ifdef _WIN32 int SetConsoleWindowSize(int x, int y); //Slightly adapted from: http://www.cplusplus.com/forum/windows/121444/ -#endif + void gotoxy( int x, int y ); +#endif void forceReRender(); |