From c7ee3d48002585362505b68aabd1093a2877e1cc Mon Sep 17 00:00:00 2001 From: jonas Date: Fri, 7 Dec 2018 13:10:00 +0100 Subject: cRender ported to Linux. Functional --- AmpelJonas/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'AmpelJonas/Makefile') diff --git a/AmpelJonas/Makefile b/AmpelJonas/Makefile index a581b30..32709e2 100644 --- a/AmpelJonas/Makefile +++ b/AmpelJonas/Makefile @@ -1,11 +1,17 @@ CC = /usr/bin/g++ CFLAGS = -Wall -g -LDFLAGS = -lm -lpthread +LDFLAGS = -lm -lpthread -lcurses +OUTPUT = Kreuzung -OBJ = main.o cCar.o cCrossroad.o cObject.o cObjectHandler.o cPeasant.o cPeasantTrafficLight.o cRender.o cTrafficLight.o +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) + $(CC) $(CFLAGS) -o $(OUTPUT) $(OBJ) $(LDFLAGS) %.o: %.cpp $(CC) $(CFLAGS) -c $< + +.PHONY: clean + +clean: + rm -f $(OUTPUT) *.o -- cgit v1.2.3