summary refs log tree commit diff stats
path: root/Makefile
blob: 2335076eaffe224123e82371a47e00164b8c5a23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
OBJS = mazeoflife.o gamestate.o board.o level.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