summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-07 20:09:58 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-07 20:09:58 +0100
commit7f49c5437a78a20c079b59667402717dad19a64b (patch)
tree8845b1c12e0840aec32e7821032e7bf5d5e3fdb7
parent0b58079fc74e87afb8473d93a8d9814fc48ef932 (diff)
downloadtermgl-7f49c5437a78a20c079b59667402717dad19a64b.tar.gz
updated Makefile, included gotoxy() to ifdef WIN32 in cRender.h
-rw-r--r--Makefile5
-rw-r--r--cRender.h3
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 86c131d..3d97022 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/cRender.h b/cRender.h
index 209c75b..59ca352 100644
--- a/cRender.h
+++ b/cRender.h
@@ -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();