aboutsummaryrefslogtreecommitdiff
path: root/AmpelJonas/Makefile
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2018-12-07 12:16:48 +0100
committerGravatar jonas <himself@jonasgunz.de> 2018-12-07 12:16:48 +0100
commit8c81604b5a22a72885ff5d6270a251172fa90319 (patch)
tree18044b6f1fa4f57797157662a873f6cef43777d8 /AmpelJonas/Makefile
parent2c12d19204aa198bf8537bcdb137b40f0c7317e9 (diff)
downloadtermgl-8c81604b5a22a72885ff5d6270a251172fa90319.tar.gz
Started port to linux
NON-Working
Diffstat (limited to 'AmpelJonas/Makefile')
-rw-r--r--AmpelJonas/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/AmpelJonas/Makefile b/AmpelJonas/Makefile
new file mode 100644
index 0000000..a581b30
--- /dev/null
+++ b/AmpelJonas/Makefile
@@ -0,0 +1,11 @@
+CC = /usr/bin/g++
+CFLAGS = -Wall -g
+LDFLAGS = -lm -lpthread
+
+OBJ = main.o cCar.o cCrossroad.o cObject.o cObjectHandler.o cPeasant.o cPeasantTrafficLight.o cRender.o cTrafficLight.o
+
+prog: $(OBJ)
+ $(CC) $(CFLAGS) -o prog $(OBJ) $(LDFLAGS)
+
+%.o: %.cpp
+ $(CC) $(CFLAGS) -c $<