diff options
author | jonas <himself@jonasgunz.de> | 2019-01-07 12:57:54 +0100 |
---|---|---|
committer | jonas <himself@jonasgunz.de> | 2019-01-07 12:57:54 +0100 |
commit | dfa4ff6eedef580ba562051434cb02582f086c0c (patch) | |
tree | 1dc6aa3210a9ddcb5640a0c08d86b4373a22948e | |
parent | 1751c781621b644eda4bd2ebd8eb73fa2270e98e (diff) | |
download | termgl-dfa4ff6eedef580ba562051434cb02582f086c0c.tar.gz |
Tweaked Makefile
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |