Subversion Repositories DevTools

Rev

Rev 241 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 241 Rev 263
Line 10... Line 10...
10
a		= a
10
a		= a
11
exe		=
11
exe		=
12
 
12
 
13
.SUFFIXES:	.asm
13
.SUFFIXES:	.asm
14
 
14
 
-
 
15
#
-
 
16
#   Ensure that the compiler can be found
-
 
17
#   Use the environment varibales
-
 
18
#       THYRONTOOLS - Root of the MPT SDK Install
-
 
19
#
-
 
20
ifndef THYRONTOOLS
-
 
21
    THYRONTOOLS := C:/MPT_SDK
-
 
22
    export THYRONTOOLS
-
 
23
endif
-
 
24
 
-
 
25
 
15
.PHONY:		gnu_mpt
26
.PHONY:		gnu_mpt
16
gnu_mpt:
27
gnu_mpt:
17
	@$(echo) [Toolset GNU/MPT]; \
28
	@$(echo) [Toolset GNU/MPT]; \
18
        if [ -z "$$THYRONTOOLS" ]; then echo THYRONTOOLS env var not set; exit 2; fi
29
        if [ -z "$$THYRONTOOLS" ]; then echo THYRONTOOLS env var not set; exit 2; fi ; \
-
 
30
        if [ ! -d "$$THYRONTOOLS" ]; then echo "ERROR: THYRONTOOLS directory not found ($$THYRONTOOLS). Compiler not available"; exit 2; fi;
19
 
31
 
20
thyron		:= $(subst \,/,$(strip $(THYRONTOOLS)))
32
thyron		:= $(subst \,/,$(strip $(THYRONTOOLS)))
21
MPTLIB		:= $(thyron)/thyron/paycell2
33
MPTLIB		:= $(thyron)/thyron/paycell2
22
gnubin		:= $(thyron)/cygnus/bin/arm
34
gnubin		:= $(thyron)/cygnus/bin/arm
23
 
35