diff --git a/drivers/ramdisk/Makefile b/drivers/ramdisk/Makefile index 870111758..f8728f30b 100644 --- a/drivers/ramdisk/Makefile +++ b/drivers/ramdisk/Makefile @@ -4,7 +4,7 @@ PROGRAMS=at_wini bios_wini cdprobe dev2name floppy loadramdisk newroot \ pci sh service sysenv mfs EXTRA=system.conf passwd rs.single -CPPFLAGS+= -I${MINIXSRCDIR}/servers +CPPFLAGS+= -I${MINIXSRCDIR}/servers -I${MINIXSRCDIR} MAKEDEV=/usr/bin/MAKEDEV install: all diff --git a/tools/Makefile b/tools/Makefile index c0726b34e..5c5dca4e6 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -42,10 +42,7 @@ usage: all: services image -image: includes - $(MAKE) -C ../kernel - $(MAKE) -C ../servers all install - $(MAKE) -C ../drivers all install +image: includes services installboot -image $@ $(PROGRAMS) # rebuild the program or system libraries @@ -57,8 +54,8 @@ depend: includes services: includes $(MAKE) -C ../kernel - $(MAKE) -C ../servers install - $(MAKE) -C ../drivers install + $(MAKE) -C ../servers all install + $(MAKE) -C ../drivers all install libraries: includes cd ../lib && sh ack_build.sh clean obj depend all install