
This allows other programs to link in against ls (e.g, ftpd), without having to have hacks to deal with multiple main()s. Yes, I know this is ugly. The clean alternative (move lots of this into libutil, yada yada yada) isn't fun, and the effort probably isn't justified...
8 lines
182 B
Makefile
8 lines
182 B
Makefile
# $NetBSD: Makefile,v 1.11 1999/05/17 12:16:03 lukem Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/2/93
|
|
|
|
PROG= ls
|
|
SRCS= cmp.c ls.c main.c print.c stat_flags.c util.c
|
|
|
|
.include <bsd.prog.mk>
|