aboutsummaryrefslogtreecommitdiff
path: root/AmpelJonas/Makefile
blob: a581b30334eba6db02a2a71058c413c65c64d9af (plain)
1
2
3
4
5
6
7
8
9
10
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 $<