aboutsummaryrefslogtreecommitdiff
path: root/AmpelJonas/Makefile
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2018-12-07 13:10:00 +0100
committerGravatar jonas <himself@jonasgunz.de> 2018-12-07 13:10:00 +0100
commitc7ee3d48002585362505b68aabd1093a2877e1cc (patch)
tree1e84a4a7290eb7c984683980c260658a85a91f5d /AmpelJonas/Makefile
parent8c81604b5a22a72885ff5d6270a251172fa90319 (diff)
downloadtermgl-c7ee3d48002585362505b68aabd1093a2877e1cc.tar.gz
cRender ported to Linux.
Functional
Diffstat (limited to 'AmpelJonas/Makefile')
-rw-r--r--AmpelJonas/Makefile12
1 files changed, 9 insertions, 3 deletions
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