blob: 255870c67f08a2fff2e18e1db8160463e473bbd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# $OpenBSD: Makefile,v 1.7 2004/10/10 16:45:00 mickey Exp $
PROG= nm
SRCS= nm.c elf32.c elf64.c
CLEANFILES+=elf32.c elf64.c
CPPFLAGS+=-I${.CURDIR}
LINKS= ${BINDIR}/nm ${BINDIR}/size
MAN= nm.1 size.1
elf32.c: ${.CURDIR}/elf.c
echo '#define ELFSIZE 32' | cat - $> > ${.TARGET}
elf64.c: ${.CURDIR}/elf.c
echo '#define ELFSIZE 64' | cat - $> > ${.TARGET}
.include <bsd.prog.mk>
|