1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/graphics/s10sh/files/Makefile.bsd

20 lines
389 B
Makefile
Raw Normal View History

PROG = s10sh
NOMAN = oh...
SRCS = main.c crc.c serial.c common.c bar.c
LDADD += -lreadline -ltermcap
CFLAGS += -DHAVE_READLINE
.if !defined(WITHOUT_USB)
USBLIB != ${LOCALBASE}/bin/libusb-config --libs
LDADD += ${USBLIB}
USBCF != ${LOCALBASE}/bin/libusb-config --cflags
CFLAGS += ${USBCF} -DHAVE_USB_SUPPORT
SRCS += usb.c
.endif
BINDIR = ${LOCALBASE}/bin
.include <bsd.prog.mk>