This commit is contained in:
Denis Landa 2025-06-08 16:30:50 +02:00
parent 8de7f8fd07
commit fec075db16
2 changed files with 3 additions and 3 deletions

View File

@ -1,13 +1,13 @@
CC = gcc
CFLAGS = -Wall -std=c99 -g -I/usr/include -I/usr/include/ncursesw
LDFLAGS = -lncursesw
LDFLAGS = -lncurses
OBJS = main.o game.o world.o
all: game
game: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o game
$(CC) $(OBJS) $(LDFLAGS) -o game
main.o: main.c game.h world.h
$(CC) $(CFLAGS) -c main.c

View File

@ -1,7 +1,7 @@
#ifndef _WORLD_H_
#define _WORLD_H_
#include "/usr/include/ncurses.h"
#include <ncurses.h>
/**
* World represented as a rectangular matrix of colorful characters.