elefantes/Makefile

14 lines
382 B
Makefile
Raw Permalink Normal View History

2021-10-25 10:21:27 +02:00
NAME = elefantes
CC = gcc
2021-11-17 11:51:45 +01:00
LIBS != ncursesw5-config --libs 2>/dev/null \
2021-10-25 10:21:27 +02:00
|| ncurses5-config --libs 2>/dev/null \
|| ncursesw6-config --libs 2>/dev/null \
2021-11-17 11:51:45 +01:00
|| ncurses6-config --libs 2>/dev/null
LIBS += -lm
2021-10-24 14:01:57 +02:00
2021-11-17 11:51:45 +01:00
linux:
2021-10-25 10:21:27 +02:00
$(CC) -o $(NAME) main.c distancia.c screen.c $(LIBS)
2021-11-17 11:51:45 +01:00
netbsd:
$(CC) -o $(NAME) main.c distancia.c screen.c $(LIBS) -I/usr/pkg/include/ncursesw -I/usr/pkg/include/