2 TARGET ?
= $(MACH
)-netbsd
4 PCCLIBDIR ?
= /usr
/local
/lib
/pcc
/$(TARGET
)/$(VERSION
)/lib
7 CFLAGS
= -I
$SRCDIR/$(MACH
) -I
$(SRCDIR
) -Wall
-Wstrict-prototypes
-Wmissing-prototypes
9 OBJS
= crtbegin.o crtend.o
13 crtbegin.o
: crtbegin.c
14 $(CC
) -O
$(CFLAGS
) -c
-o
$@
$<
17 $(CC
) -O
$(CFLAGS
) -c
-o
$@
$<
20 mkdir
-p
${DESTDIR}$(PCCLIBDIR
)
21 cp
$(OBJS
) ${DESTDIR}$(PCCLIBDIR
)