X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/82e606eb3b90a9d5c4ca72f2894d2a725ee8c3de..de366fdbe1d7cdb1a46404627492bee678595ba1:/LUFA/StudioIntegration/makefile diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile index 8f41a24c0..5a3f7933a 100644 --- a/LUFA/StudioIntegration/makefile +++ b/LUFA/StudioIntegration/makefile @@ -124,7 +124,7 @@ check_filenames: $(MODULE_OUTPUT_XML) echo "Checking $$f..."; \ asf_file_dir=`dirname $$f`; \ xsltproc XDK/lufa_filelist_transform.xslt $$f | sed -e "/^$$/d" | while read -r i; do \ - if ( ! test -f "$$asf_file_dir/$$i" ); then \ + if ( ( ! test -f "$$asf_file_dir/$$i" ) && ( ! test -d "$$asf_file_dir/$$i" ) ); then \ echo "Source file \"$$i\" referenced in $$f does not exist!"; \ exit 1; \ fi; \