NetBSD/bin/ls/Makefile
lukem 37085e7c0d Rename ls.c::main() -> ls.c::ls_main(), and add a wrapper in main.c::main().
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...
1999-05-17 12:16:03 +00:00

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>