#
#  Makefile for malloc test suite
#

ARCH=-Vgcc_ntox86
#
#  3.3.5,gcc_ntoshle       
#  3.3.5,gcc_ntomipsbe     
#  3.3.5,gcc_ntox86        (default)
#  3.3.5,gcc_ntoarmle      
#  3.3.5,gcc_ntoppcbe      
#  3.3.5,gcc_ntomipsle     
#  3.3.5,gcc_ntoarmbe      
#
CC=qcc $(ARCH)
#CFLAGS=-g
CFLAGS=-O3 -fomit-frame-pointer -fno-inline -fno-strength-reduce -DSYS_MULTI_THREAD
CFLAGS+=-D__QNX__

all: sh6bench

sh6bench.o: sh6bench.c
	$(CC) $(CFLAGS) -o $@ -c $<

sh6bench: sh6bench.o
	$(CC) $(CFLAGS) -o $@ $<

clean:
	rm -f sh6bench.o sh6bench
