1 # $NetBSD: Makefile.boot,v 1.18 2008/12/20 22:41:53 dsl Exp $
3 # a very simple makefile...
5 # You only want to use this if you aren't running NetBSD.
7 # modify MACHINE and MACHINE_ARCH as appropriate for your target architecture
12 ${CC} ${CFLAGS} -c $< -o $@
16 # tested on HP-UX 10.20
18 #MAKE_MACHINE_ARCH=hppa
19 CFLAGS= -DTARGET_MACHINE=\"${MACHINE}\" \
20 -DTARGET_MACHINE_ARCH=\"${MACHINE_ARCH}\" \
21 -DMAKE_MACHINE=\"${MACHINE}\"
24 OBJ=arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o \
25 make_malloc.o parse.o str.o strlist.o suff.o targ.o trace.o var.o util.o
27 LIBOBJ= lst.lib/lstAppend.o lst.lib/lstAtEnd.o lst.lib/lstAtFront.o \
28 lst.lib/lstClose.o lst.lib/lstConcat.o lst.lib/lstDatum.o \
29 lst.lib/lstDeQueue.o lst.lib/lstDestroy.o lst.lib/lstDupl.o \
30 lst.lib/lstEnQueue.o lst.lib/lstFind.o lst.lib/lstFindFrom.o \
31 lst.lib/lstFirst.o lst.lib/lstForEach.o lst.lib/lstForEachFrom.o \
32 lst.lib/lstInit.o lst.lib/lstInsert.o lst.lib/lstIsAtEnd.o \
33 lst.lib/lstIsEmpty.o lst.lib/lstLast.o lst.lib/lstMember.o \
34 lst.lib/lstNext.o lst.lib/lstOpen.o lst.lib/lstRemove.o \
35 lst.lib/lstReplace.o lst.lib/lstSucc.o
37 bmake: ${OBJ} ${LIBOBJ}
38 # @echo 'make of make and make.0 started.'
39 ${CC} ${CFLAGS} ${OBJ} ${LIBOBJ} -o bmake ${LIBS}
41 # nroff -h -man make.1 > make.0
42 # @echo 'make of make and make.0 completed.'
45 rm -f ${OBJ} ${LIBOBJ} ${PORTOBJ} bmake