2010-01-18 14:49:33 +08:00
|
|
|
Description := Example configuration for build two libraries for separate \
|
|
|
|
architectures.
|
|
|
|
|
|
|
|
Configs := m32 m64
|
|
|
|
Arch := i386
|
|
|
|
Arch.m64 := x86_64
|
|
|
|
|
2011-11-16 02:34:17 +08:00
|
|
|
CC := clang
|
2010-01-18 14:49:33 +08:00
|
|
|
|
|
|
|
CFLAGS := -Wall -Werror
|
|
|
|
CFLAGS.m32 := $(CFLAGS) -m32 -O3
|
|
|
|
CFLAGS.m64 := $(CFLAGS) -m64 -O3
|
|
|
|
|
|
|
|
FUNCTIONS := moddi3 floatundixf udivdi3
|
2010-01-19 06:19:34 +08:00
|
|
|
FUNCTIONS.m64 := $(FUNCTIONS) lshrdi3
|