Mercurial > hg > CbC > CbC_gcc
comparison config/mh-djgpp @ 0:a06113de4d67
first commit
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2009 14:47:48 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a06113de4d67 |
---|---|
1 # Shorten the target alias so when it is used to set 'libsubdir' | |
2 # the name will work in both short and long filename environments. | |
3 ifeq ($(findstring -pc-msdosdjgpp,$(target_alias)),-pc-msdosdjgpp) | |
4 target_alias=djgpp | |
5 endif | |
6 | |
7 # The version string must be modified to contain just one dot | |
8 # because DOS filenames can only have one dot when long filenames | |
9 # are not available. | |
10 __version:=$(gcc_version) | |
11 __version:=$(subst ., ,$(__version)) | |
12 ifeq ($(words $(__version)),3) | |
13 gcc_version=$(word 1,$(__version)).$(word 2,$(__version))$(word 3,$(__version)) | |
14 endif |