blob: 33610448271cedd51dd0626aed7fb99006a963fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
OBJS = mazeoflife.o gamestate.o board.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
|