OSDN Git Service

* Makefile.in (local-distclean): Also remove fastjar.
[pf3gnuchains/gcc-fork.git] / config / mh-djgpp
1 # We don't want to use debugging information on DOS.  Unfortunately,
2 # this requires that we set CFLAGS.
3 # This used to set -fno-omit-frame-pointer.
4 CFLAGS=-O2
5
6 # Shorten the target alias so when it is used to set 'libsubdir'
7 # the name will work in both short and long filename environments.
8 ifeq ($(findstring -pc-msdosdjgpp,$(target_alias)),-pc-msdosdjgpp)
9 target_alias=djgpp
10 endif
11
12 # The version string must be modified to contain just one dot
13 # because DOS filenames can only have one dot when long filenames
14 # are not available.
15 __version:=$(gcc_version)
16 __version:=$(subst ., ,$(__version))
17 ifeq ($(words $(__version)),3)
18 gcc_version=$(word 1,$(__version)).$(word 2,$(__version))$(word 3,$(__version))
19 endif