aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-01-07 12:57:54 +0100
committerGravatar jonas <himself@jonasgunz.de> 2019-01-07 12:57:54 +0100
commitdfa4ff6eedef580ba562051434cb02582f086c0c (patch)
tree1dc6aa3210a9ddcb5640a0c08d86b4373a22948e /Makefile
parent1751c781621b644eda4bd2ebd8eb73fa2270e98e (diff)
downloadtermgl-dfa4ff6eedef580ba562051434cb02582f086c0c.tar.gz
Tweaked Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 069b9c5..b4d3abb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,12 @@
CC = /usr/bin/g++
CFLAGS = -Wall -g -std=c++11
LDFLAGS = -lm -lcurses
-OUTPUT = bin/Engine
+OUTPUT = build/Engine
OBJ = main.o cObject.o cObjectHandler.o cRender.o cInput.o
prog: $(OBJ)
+ mkdir build
$(CC) $(CFLAGS) -o $(OUTPUT) $(OBJ) $(LDFLAGS)
%.o: %.cpp
@@ -19,3 +20,4 @@ all:
clean:
rm -f $(OUTPUT) *.o
+ rmdir build