- "make clean" should not clean up things that "make installer" cannot
regenerate.
- "make installer" should not descend into subdirectories which are
target only, e.g. com32 and sample.
The Linux platform stuff in com32 is old and bitrotted, and was only
for debugging in the first place. Just ignore it.
# BESUBDIRS and IESUBDIRS are "early", i.e. before the root; BSUBDIRS
# and ISUBDIRS are "late", after the root.
BESUBDIRS =
-BSUBDIRS = codepage core memdisk mbr memdump gpxe dos win32
+BSUBDIRS = codepage core memdisk com32 mbr memdump gpxe sample dos win32
ITARGET =
IOBJECTS = $(ITARGET) dos/copybs.com utils/gethostip utils/mkdiskimage \
mtools/syslinux linux/syslinux extlinux/extlinux
IESUBDIRS =
-ISUBDIRS = mtools linux extlinux utils com32 sample
+ISUBDIRS = mtools linux extlinux utils
# Things to install in /usr/bin
INSTALL_BIN = mtools/syslinux
rm -f $(OBSOLETE)
clean: tidy
- rm -f $(ITARGET) *_bin.c
+ rm -f $(ITARGET)
spotless: clean
- rm -f $(BTARGET) .depend
+ rm -f $(BTARGET) *_bin.c .depend
.depend:
rm -f .depend
tidy:
clean: tidy
- rm -f $(TARGETS) src/bin/undionly.kpxe
dist:
+ rm -f $(TARGETS)
$(MAKE) -C src veryclean > /dev/null 2>&1
spotless: clean dist