1 1.1 christos # Shorten the target alias so when it is used to set 'libsubdir' 2 1.1 christos # the name will work in both short and long filename environments. 3 1.1 christos ifeq ($(findstring -pc-msdosdjgpp,$(target_alias)),-pc-msdosdjgpp) 4 1.1 christos target_alias=djgpp 5 1.1 christos endif 6 1.1 christos 7 1.1 christos # The version string must be modified to contain just one dot 8 1.1 christos # because DOS filenames can only have one dot when long filenames 9 1.1 christos # are not available. 10 1.1 christos __version:=$(gcc_version) 11 1.1 christos __version:=$(subst ., ,$(__version)) 12 1.1 christos ifeq ($(words $(__version)),3) 13 1.1 christos gcc_version=$(word 1,$(__version)).$(word 2,$(__version))$(word 3,$(__version)) 14 1.1 christos endif 15