funguje
This commit is contained in:
parent
714dc3dbdb
commit
fef2fe6a55
14
Makefile.c
Normal file
14
Makefile.c
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user