summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();