5df8be8e7a
Improves cache locality by grouping together dependency generation with building for each program instead of doing a whole-tree dep generation phase followed by a whole-tree build phase
16 lines
299 B
Makefile
16 lines
299 B
Makefile
# Makefile for memory driver (MEMORY)
|
|
PROG= memory
|
|
SRCS= memory.c imgrd.c
|
|
|
|
DPADD+= ${LIBDRIVER} ${LIBSYS}
|
|
LDADD+= -ldriver -lsys
|
|
|
|
MAN=
|
|
|
|
BINDIR?= /usr/sbin
|
|
INSTALLFLAGS+= -S 8k
|
|
|
|
CPPFLAGS.memory.c+= -I${MINIXSRCDIR}
|
|
CPPFLAGS.imgrd.c+= -I${.CURDIR}/../ramdisk -T /usr/tmp
|
|
|
|
.include <minix.bootprog.mk>
|