aboutsummaryrefslogtreecommitdiff
path: root/AmpelJonas/Makefile
diff options
context:
space:
mode:
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 $<