freebsd-ports/comms/predict/files/Makefile
Pav Lucistnik 9b9a88cfa2 Add predict, a ncurses application to predict and track positions of amateur
radio satellites.

PR:		ports/68283
Submitted by:	Diane Bruce <db@db.net>
2004-06-25 21:52:16 +00:00

46 lines
542 B
Makefile

# $FreeBSD$
.ifndef CC
CC = -cc
.endif
.ifndef CPPFLAGS
CPPFLAGS =
.endif
.ifndef CFLAGS
CFLAGS = -O2
.endif
default: all
all: predict
SRCS = \
predict.c
OBJS = ${SRCS:.c=.o}
LIBS += -lm -lncurses -o predict
#
#
HDRS = predict.h
predict: ${OBJS} ${HDRS}
${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
.c.o:
${CC} ${CPPFLAGS} ${CFLAGS} -c $<
,v.c:
co $<
clean:
rm -f *.o predict *core *~ \#* *.txt
install:
echo INSTALL
install predict ${PREFIX}/bin
install.man:
install docs/man/predict.1 ${PREFIX}/man/man1
.PHONY: clean build