freebsd-dev/bin/ls/Makefile
Josef Karthauser 74985094ef * Re-implement colour support using termcap's AF and AB capabilities
to manage the ANSI colour sequences.  Colour support is disabled
  unless the TERM environment variable references a valid termcap.

* Allow optional compilation of the colour support in the Makefile,
  defaulting to yes.  This allows us to switch it off for fixit
  floppies and other mediums where space is an issue and the extra
  bloat of statically linking with ncurses isn't acceptable.

* Display a warning if colour is requested with '-G' but support
  for it isn't compiled in.
2000-06-05 02:14:01 +00:00

13 lines
202 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/2/93
# $FreeBSD$
PROG= ls
SRCS= cmp.c setflags.c ls.c print.c util.c
.PATH: ${.CURDIR}/../../lib/libc/gen
CFLAGS+= -DCOLORLS
LDADD= -lncurses
.include <bsd.prog.mk>