15 lines
197 B
C
15 lines
197 B
C
|
CC = gcc
|
||
|
CFLAGS = -Wall -Wextra -std=c99
|
||
|
|
||
|
all: game
|
||
|
|
||
|
game: game.c world.o
|
||
|
$(CC) $(CFLAGS) -o game game.c world.o
|
||
|
|
||
|
world.o: world.c world.h
|
||
|
$(CC) $(CFLAGS) -c world.c
|
||
|
|
||
|
clean:
|
||
|
rm -f game world.o
|
||
|
|