SDCC_DOC = doc
# Parts that are not normally compiled but need to be cleaned
-SDCC_EXTRA = support/regression
+SDCC_EXTRA = support/regression support/valdiag
SDCC_PACKIHX = support/packihx
SDCC_LIBRARIAN = support/librarian
ifeq ($(OPT_DISABLE_HC08), 0)
-SDCC_ASLINK += as/hc08
+SDCC_ASLINK += as/hc08 as/link/hc08
endif
ifeq ($(OPT_DISABLE_MCS51), 0)
-SDCC_ASLINK += as/mcs51
+SDCC_ASLINK += as/mcs51 as/link/mcs51
SDCC_MISC += debugger/mcs51
endif