pvjc24/final/Makefile

30 lines
277 B
Makefile
Raw Normal View History

2024-05-15 11:27:07 +00:00
CC = gcc
CFLAGS = -Wall -Wextra -std=c99
all: game
2024-05-15 11:33:32 +00:00
game: game.o world.o
$(CC) $(CFLAGS) -o game game.o world.o -lncurses
game.o: game.c world.h
$(CC) $(CFLAGS) -c game.c
2024-05-15 11:27:07 +00:00
world.o: world.c world.h
$(CC) $(CFLAGS) -c world.c
clean:
2024-05-15 11:33:32 +00:00
rm -f game game.o world.o
2024-05-15 11:27:07 +00:00