Subversion Repositories eduke32

Rev

Rev 4646 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4646 Rev 4647
Line 14... Line 14...
14
    undefine RANLIB
14
    undefine RANLIB
15
    undefine STRIP
15
    undefine STRIP
16
endif
16
endif
17
17
18
CC?=$(CROSS)gcc
18
CC=$(CROSS)gcc
19
CXX?=$(CROSS)g++
19
CXX=$(CROSS)g++
20
AR?=$(CROSS)ar
20
AR=$(CROSS)ar
21
RC?=$(CROSS)windres
21
RC=$(CROSS)windres
22
RANLIB?=$(CROSS)ranlib
22
RANLIB=$(CROSS)ranlib
23
STRIP?=$(CROSS)strip
23
STRIP=$(CROSS)strip
24
AS?=nasm
24
AS=nasm
25
PKG_CONFIG?=pkg-config
25
PKG_CONFIG=pkg-config
26
26
27
# Override defaults that absolutely will not work.
27
# Override defaults that absolutely will not work.
28
ifeq ($(CC),cc)
28
ifeq ($(CC),cc)
29
    override CC=gcc
29
    override CC=gcc
30
endif
30
endif
31
ifeq ($(AS),as)
31
ifeq ($(AS),as)
Line 46... Line 46...
46
    include $(DEVKITPPC)/wii_rules
46
    include $(DEVKITPPC)/wii_rules
47
47
48
    CCFULLPATH=$(DEVKITPPC)/bin/$(CC)
48
    CCFULLPATH=$(DEVKITPPC)/bin/$(CC)
49
49
50
    RANLIB=powerpc-eabi-ranlib
50
    CROSS=powerpc-eabi-
-
 
51
    RANLIB=powerpc-eabi-ranlib
51
    STRIP=powerpc-eabi-strip
52
    STRIP=powerpc-eabi-strip
52
endif
53
endif
53
54
54
CLANG?=0
55
CLANG?=0
55
56