summary refs log tree commit diff stats
path: root/Makefile
blob: 0eb17383bcdec770d08098afff84f0df4560d3d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
OBJS = mazeoflife.o gamestate.o
CC = g++
CFLAGS = `pkg-config sdl --cflags`
LIBS = `pkg-config sdl --libs`

mazeoflife: $(OBJS)
	$(CC) $(OBJS) $(LIBS) -o mazeoflife

%.o: %.cpp
	$(CC) -c $< $(CFLAGS) -o $@

clean:
	rm -rdfv $(OBJS) mazeoflife