NAME = elefantes CC = gcc LIBS != ncursesw5-config --libs 2>/dev/null \ || ncurses5-config --libs 2>/dev/null \ || ncursesw6-config --libs 2>/dev/null \ || ncurses6-config --libs 2>/dev/null LIBS += -lm linux: $(CC) -o $(NAME) main.c distancia.c screen.c $(LIBS) netbsd: $(CC) -o $(NAME) main.c distancia.c screen.c $(LIBS) -I/usr/pkg/include/ncursesw -I/usr/pkg/include/