aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-01-07 14:59:11 +0100
committerGravatar jonas <himself@jonasgunz.de> 2019-01-07 14:59:11 +0100
commitc1336abd9275875e0c8a4dcb2694f2826c6720d9 (patch)
tree285e4febf93cefadca9faf46fdc94c24a7997fb0 /Makefile
parentd4cbd787881d9367b8718a5ee9d645b988c88664 (diff)
parentdfa4ff6eedef580ba562051434cb02582f086c0c (diff)
downloadtermgl-c1336abd9275875e0c8a4dcb2694f2826c6720d9.tar.gz
Merge branch 'master' of gitlab.lrz.de:ge49jic/engine
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8663715..d7717ce 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,23 @@
CC = /usr/bin/g++
CFLAGS = -Wall -g -std=c++11
LDFLAGS = -lm -lcurses
+<<<<<<< HEAD
OUTPUT = Engine
BUILDDIR = build
+=======
+OUTPUT = build/Engine
+>>>>>>> dfa4ff6eedef580ba562051434cb02582f086c0c
OBJ = main.o cObject.o cObjectHandler.o cRender.o cInput.o
prog: $(OBJ)
+<<<<<<< HEAD
mkdir -p $(BUILDDIR)
$(CC) $(CFLAGS) -o $(BUILDDIR)/$(OUTPUT) $(OBJ) $(LDFLAGS)
+=======
+ mkdir build
+ $(CC) $(CFLAGS) -o $(OUTPUT) $(OBJ) $(LDFLAGS)
+>>>>>>> dfa4ff6eedef580ba562051434cb02582f086c0c
%.o: %.cpp
$(CC) $(CFLAGS) -c $<
@@ -20,5 +29,10 @@ all:
.PHONY: clean
clean:
+<<<<<<< HEAD
rm -f $(BUILDDIR)/$(OUTPUT) *.o
rmdir $(BUILDDIR)
+=======
+ rm -f $(OUTPUT) *.o
+ rmdir build
+>>>>>>> dfa4ff6eedef580ba562051434cb02582f086c0c