15 lines
174 B
Makefile
15 lines
174 B
Makefile
|
CFLAGS=-std=c99 -Wall -g
|
||
|
|
||
|
all: game
|
||
|
|
||
|
%.o: %.c
|
||
|
gcc $(CFLAGS) -c $< -o $@
|
||
|
|
||
|
clean:
|
||
|
rm *.o
|
||
|
rm hra
|
||
|
|
||
|
game: main.o game.o world.o
|
||
|
gcc main.o game.o world.o -lcurses -lm -o hra
|
||
|
|