2021-10-25 10:21:27 +02:00
|
|
|
NAME = elefantes
|
|
|
|
CC = gcc
|
|
|
|
LIBS = -lm
|
|
|
|
LIBS += $(shell ncursesw5-config --libs 2>/dev/null \
|
|
|
|
|| ncurses5-config --libs 2>/dev/null \
|
|
|
|
|| ncursesw6-config --libs 2>/dev/null \
|
|
|
|
|| ncurses6-config --libs 2>/dev/null )
|
2021-10-24 14:01:57 +02:00
|
|
|
|
|
|
|
compile:
|
2021-10-25 10:21:27 +02:00
|
|
|
$(CC) -o $(NAME) main.c distancia.c screen.c $(LIBS)
|