From 8c81604b5a22a72885ff5d6270a251172fa90319 Mon Sep 17 00:00:00 2001 From: jonas Date: Fri, 7 Dec 2018 12:16:48 +0100 Subject: Started port to linux NON-Working --- AmpelJonas/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 AmpelJonas/Makefile (limited to 'AmpelJonas/Makefile') 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 $< -- cgit v1.2.3