minix/drivers/memory/Makefile
Arun Thomas 93ae43f577 boot: Add multiboot support
Not yet fully spec-compliant; work in progress
2011-06-24 17:21:51 +02:00

21 lines
437 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
imgrd.d: touch-genfiles
touch-genfiles:
[ -e ${.CURDIR}/../ramdisk/image.c ] || touch -t 197001010000.00 ${.CURDIR}/../ramdisk/image.c
.include <minix.bootprog.mk>