From dfa4ff6eedef580ba562051434cb02582f086c0c Mon Sep 17 00:00:00 2001 From: jonas Date: Mon, 7 Jan 2019 12:57:54 +0100 Subject: Tweaked Makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3