pvjc22/a4/Makefile

15 lines
176 B
Makefile
Raw Normal View History

2022-05-03 19:11:54 +00:00
CFLAGS=-std=c99 -Wall -g
all: game
%.o: %.c
gcc $(CFLAGS) -c $< -o $@
clean:
rm *.o
rm game
game: main.o game.o world.o
gcc main.o game.o world.o -lcurses -lm -o game