aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2018-12-27 00:26:34 +0100
committerGravatar jonas <himself@jonasgunz.de> 2018-12-27 00:26:34 +0100
commit7015245de4af673af3e6fa62d5d0f9c2e0c2a8a1 (patch)
tree8bec5d1716eebb0fedc75dcc036385443b1ecea5 /Makefile
parent616951a353caf398908e6e6ce7dddf34a65513e5 (diff)
downloadtermgl-7015245de4af673af3e6fa62d5d0f9c2e0c2a8a1.tar.gz
cleaned working tree
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..132f2ec
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+CC = /usr/bin/g++
+CFLAGS = -Wall -g
+LDFLAGS = -lm -lcurses
+OUTPUT = bin/Engine
+
+OBJ = main.o cObject.o cObjectHandler.o cRender.o cInput.o
+
+prog: $(OBJ)
+ $(CC) $(CFLAGS) -o $(OUTPUT) $(OBJ) $(LDFLAGS)
+
+%.o: %.cpp
+ $(CC) $(CFLAGS) -c $<
+
+.PHONY: clean
+
+clean:
+ rm -f $(OUTPUT) *.o